<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>Flash development Forum RSS Feed (Replies Included)</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the 'Flash development' forum at Programmer's Heaven, including replies.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Wed, 19 Jun 2013 10:20:33 -0700</pubDate>
    <lastBuildDate>Wed, 19 Jun 2013 10:20:33 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>card designer application</title>
      <link>http://www.programmersheaven.com/mb/flash/432369/432369/card-designer-application/</link>
      <description>Hello,&lt;br /&gt;
i am working on a small project where i have to build a web application which would be able to create customized business cards, postcards, greeting cars and anything similar to this. I have found a similar application already (you can find it here &lt;a href="http://flashextended.com/preview/business_card_designer/)"&gt;http://flashextended.com/preview/business_card_designer/)&lt;/a&gt; and i could use it in my project, but before i buy it and rework it to suit my needs, i would like to test some others if avaliable. I would be also willing to pay something, if someone finds good example to use (of course with full source code provided) or is willing to help.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/flash/432369/432369/card-designer-application/</guid>
      <pubDate>Mon, 17 Jun 2013 03:37:54 -0700</pubDate>
      <category>Flash development</category>
    </item>
    <item>
      <title>NOT webvideoplayer programmer wanted but an ADVICE wanted how to find</title>
      <link>http://www.programmersheaven.com/mb/flash/432249/432249/not-webvideoplayer-programmer-wanted-but-an-advice-wanted-how-to-find/</link>
      <description>NOT web video player programmer wanted but an ADVICE wanted how to find a web video player programmer. I cannot post my request to "Jobs Available" because they expect cash for a work. But I only want a BARTER:&lt;br /&gt;
&lt;br /&gt;
I am not allowed to place my request on websites where are programmers available (websites like peopleperhour, twago, elance etc...) because I only want a barter.&lt;br /&gt;
&lt;br /&gt;
PLEASE, CAN YOU GIVE ME AN ADVICE HOW to find someone when I only want to give something for a work instead of cash?&lt;br /&gt;
&lt;br /&gt;
I am talking about this my request:&lt;br /&gt;
&lt;br /&gt;
WEBSITE VIDEO PLAYER THAT DOES NOT REPEAT VIDEOS UNTIL ITS PLAYLIST IS FINISHED BY AN INDIVIDUAL VIEWER + RANDOM PLAY + ANNOTATIONS WITH A REDIRECTION&lt;br /&gt;
 &lt;br /&gt;
YOUR EASY SIMPLE WORK JUST FOR A FEW HOURS FOR FREE SPACE FOR YOUR ADVERTISEMENTS ON MY WEBSITE FOR HALF OF YEAR. = No cash money! Instead of the cash money, I'll give you free space where you can place your advertisement. It will make more money for you than some standard cash you usually ask for your work!: What kind of the advertisements you will place on my website, depends only on you: Whether you will run Google AdSense with your publisher id to earn direct revenue for each click on the advertisements from Google Company by any visitor of my website or whether you advertise your own website and get traffic to it or you will advertise any of your services and get the payment from your future customers or whatever, just suggest! I am open for an arrangement. If you want cash money for your work, do NOT contact me! If you agree with that deal, DO contact me.&lt;br /&gt;
 &lt;br /&gt;
DETAILS OF THIS LITTLE SMALL PROJECT:&lt;br /&gt;
 &lt;br /&gt;
1) Adding unlimited number of uploaded videos + linked videos: (embedded videos with URL links):&lt;br /&gt;
 I will be pasting unlimited number of URL links into a playlist (probably into XML format?) and unlimited number of uploaded videos (unlimited giga bytes for each video). All the videos will be played in ONE (the same) web video player like TV on my public page. = There will be only one playlist in XML(?) for only my private use to be adding new videos with these two ways.&lt;br /&gt;
 &lt;br /&gt;
2) No video will be repeated (except exceptions):&lt;br /&gt;
 Playing videos RANDOMLY = (where absolutely nothing will be repeated before ALL the videos are played, even after repeatedly restarting a computer by any individual user.): The web video player will remember which songs already were played by each individual viewer so that NO song could be repeated FOR each individual viewer! (except exceptions: SEE below)&lt;br /&gt;
 &lt;br /&gt;
3) Repeating concrete videos:&lt;br /&gt;
 If I want, I will make settings for some concrete videos how many times some concrete video will be played (repeated) = percentage rate to all the number of videos in the playlist, to be able to promote concrete songs / videos / advertisements.&lt;br /&gt;
 &lt;br /&gt;
4) "Annotations" WITH (and without) THE DIRECT LINK to an original video on Internet:&lt;br /&gt;
 (I mean the same feature like it is on YouTube where you can write any text you want on the screen of the player and after you click on the text, you are automatically redirected to any other page on internet (in a new window), for example: "CLICK HERE TO SUBSCRIBE TO THE SINGER ON YOUTUBE." After one click on this sentence it will open a singer's original channel on YouTube or any other web page (in a new window). This feature will be for the UPLOADED videos as well as for the LINKED videos, because "annotations" can be used also for any other text (not only for the redirection).&lt;br /&gt;
 &lt;br /&gt;
5) The web video player has to be played in ANY media:&lt;br /&gt;
 (for example: in any computers: desktops, laptops/notebooks, ipodes, any telephones, tablets, (MP4 if connected with internet) or whatever. (In MP3 players as an internet radio only = only audio, of course). But adding videos (uploading, pasting the links) has to be done ONLY once = only one format of the links (uploadings) for each video because I will be adding a huge number of the links (of uploadings) every day. That's why I will NOT have any free time to be pasting more formats of the links / uploading videos for each video.&lt;br /&gt;
 &lt;br /&gt;
6) Playing uploaded ANY formats:&lt;br /&gt;
 (For axample: .flv, .MP4, etc. of the videos that will be uploaded / linked into the web video player).&lt;br /&gt;
 &lt;br /&gt;
7) Standard features:&lt;br /&gt;
 Full Screen, Skip the video ("forward" )*SEE below, Volume, Mute, Stop / Play, time of the running video / duration of the running video, change quality, Autostart the web video player, Autonext every video.&lt;br /&gt;
 &lt;br /&gt;
8) "Forward" ("skip) the song (video):&lt;br /&gt;
 If an individual viewer clicks the button: "forward" ("skip") the song (video), the player will play the next video and NOT play this song (video), any more, until all the playlist has been watched by that viewer. (Because the player will think, that viewer does not like this song (video).) By this way it will work (=it will remember it) ALSO even after restarting individual computers.&lt;br /&gt;
 &lt;br /&gt;
9) Background of the page where will be the website video player:&lt;br /&gt;
 Just include a code so that I can anytime simply change background by uploading a picture / photo. PLUS inserting any active links ANYWHERE on the page on that photo / picture. The size of the picture / photo should have unlimited Mbs and unlimitedly long. Number of the links should be unlimited, as well.&lt;br /&gt;
&lt;br /&gt;
Notice:&lt;br /&gt;
 - The problems with "buffering": Viewers will NOT wait for "buffering".&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/flash/432249/432249/not-webvideoplayer-programmer-wanted-but-an-advice-wanted-how-to-find/</guid>
      <pubDate>Wed, 05 Jun 2013 17:26:08 -0700</pubDate>
      <category>Flash development</category>
    </item>
    <item>
      <title>Re: flash converter</title>
      <link>http://www.programmersheaven.com/mb/flash/391339/431630/re-flash-converter/#431630</link>
      <description>I always use AppGeeker FLV converter.&lt;br /&gt;
See:  &lt;a href="http://www.ilikemall.com/how-to/convert-flv-to-mov-mac.html"&gt;convert flv to mov for mac&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
It can also convert lmost every format known to civilised man&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/flash/391339/431630/re-flash-converter/#431630</guid>
      <pubDate>Tue, 19 Mar 2013 22:08:40 -0700</pubDate>
      <category>Flash development</category>
    </item>
    <item>
      <title>Re:flash converter</title>
      <link>http://www.programmersheaven.com/mb/flash/391339/431629/reflash-converter/#431629</link>
      <description>I always use AppGeeker FLV converter.&lt;br /&gt;
See:  &lt;a href="http://www.ilikemall.com/how-to/convert-flv-to-mov-mac.html"&gt;convert flv to mov for mac&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
It can also convert lmost every format known to civilised man&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/flash/391339/431629/reflash-converter/#431629</guid>
      <pubDate>Tue, 19 Mar 2013 22:04:31 -0700</pubDate>
      <category>Flash development</category>
    </item>
    <item>
      <title>Re: Flash development in Visual Studio</title>
      <link>http://www.programmersheaven.com/mb/flash/423537/430481/re-flash-development-in-visual-studio/#430481</link>
      <description>Hello,&lt;br /&gt;
&lt;br /&gt;
I have just came across a sample program that describes how to build a Flash SIP softphone (http://www.voip-sip-sdk.com/p_79-flash-sip-softphone-voip.html). I have checked the prerequisites section where it says that for the development environment Visual Studio 2010 is recommended. Hope you will find my information useful.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/flash/423537/430481/re-flash-development-in-visual-studio/#430481</guid>
      <pubDate>Mon, 03 Dec 2012 02:54:06 -0700</pubDate>
      <category>Flash development</category>
    </item>
    <item>
      <title>Re: Please guide about flash website</title>
      <link>http://www.programmersheaven.com/mb/flash/430194/430479/re-please-guide-about-flash-website/#430479</link>
      <description>Hi,I want to say you that you have to used good tutorial site which gives you good guideline and solve your query. I think you have to used online option that good resource which provide plenty of tutorial site that will be very useful for you. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/flash/430194/430479/re-please-guide-about-flash-website/#430479</guid>
      <pubDate>Sun, 02 Dec 2012 23:24:02 -0700</pubDate>
      <category>Flash development</category>
    </item>
    <item>
      <title>Re: Please guide about flash website</title>
      <link>http://www.programmersheaven.com/mb/flash/430194/430478/re-please-guide-about-flash-website/#430478</link>
      <description>Hi,I want to say you that you have to used good tutorial site which gives you good guideline and solve your query. I think you have to used online option that good resource which provide plenty of tutorial site that will be very useful for you. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/flash/430194/430478/re-please-guide-about-flash-website/#430478</guid>
      <pubDate>Sun, 02 Dec 2012 23:21:34 -0700</pubDate>
      <category>Flash development</category>
    </item>
    <item>
      <title>Please guide about flash website</title>
      <link>http://www.programmersheaven.com/mb/flash/430194/430194/please-guide-about-flash-website/</link>
      <description>Dear Sir &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
I have a flash template with .fla file . I want to know that how i can attach the links of files name iframe_0.html / iframe_1.html / iframe_2.html / iframe_3.html / iframe_4.html to their relevant button at home page .The home page menu is also flash based.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
For details see attachment &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
Link : &lt;a href="http://img33.imageshack.us/img33/9999/99617025.jpg"&gt;http://img33.imageshack.us/img33/9999/99617025.jpg&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
Please guide me how i can attach the frames by using Adobe Dream Weaver under the desired button &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
For Example &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
If i clicked on button name : company     then  iframe_1.html should be appear with data etc..&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
Regards  &lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/flash/430194/430194/please-guide-about-flash-website/</guid>
      <pubDate>Sat, 10 Nov 2012 05:33:57 -0700</pubDate>
      <category>Flash development</category>
    </item>
    <item>
      <title>Please guide about flash website</title>
      <link>http://www.programmersheaven.com/mb/flash/430193/430193/please-guide-about-flash-website/</link>
      <description>Dear Sir &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
I have a flash template with .fla file . I want to know that how i can attach the links of files name iframe_0.html / iframe_1.html / iframe_2.html / iframe_3.html / iframe_4.html to their relevant button at home page .The home page menu is also flash based.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
For details see attachment &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
Link : &lt;a href="http://img33.imageshack.us/img33/9999/99617025.jpg"&gt;http://img33.imageshack.us/img33/9999/99617025.jpg&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
Please guide me how i can attach the frames by using Adobe Dream Weaver under the desired button &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
For Example &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
If i clicked on button name : company     then  iframe_1.html should be appear with data etc..&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
Regards  &lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/flash/430193/430193/please-guide-about-flash-website/</guid>
      <pubDate>Sat, 10 Nov 2012 05:32:07 -0700</pubDate>
      <category>Flash development</category>
    </item>
    <item>
      <title>Mobile application development with Adobe Flash Builder</title>
      <link>http://www.programmersheaven.com/mb/flash/429484/429484/mobile-application-development-with-adobe-flash-builder/</link>
      <description>Hello,&lt;br /&gt;
&lt;br /&gt;
I am developing an application for Android. For this task I use an SDK and Adobe Flash Builder. I am not an experienced developer so I had to look for help on the Internet. There found a page with relevant information aobut this topic. The page (if you are interested: &lt;a href="http://www.voip-sip-sdk.com/p_456-voip-android-integration-voip.html)"&gt;http://www.voip-sip-sdk.com/p_456-voip-android-integration-voip.html)&lt;/a&gt; also provided code snippets that handle the physical buttons and the rotation features of the mobile devices. I belive that the information provided by the page will also be usful for other developers.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/flash/429484/429484/mobile-application-development-with-adobe-flash-builder/</guid>
      <pubDate>Mon, 10 Sep 2012 00:56:20 -0700</pubDate>
      <category>Flash development</category>
    </item>
    <item>
      <title>Mobile application development with Adobe Flash Builder</title>
      <link>http://www.programmersheaven.com/mb/flash/429483/429483/mobile-application-development-with-adobe-flash-builder/</link>
      <description>Hello,&lt;br /&gt;
&lt;br /&gt;
I am developing an application for Android. For this task I use an SDK and Adobe Flash Builder. I am not an experienced developer so I had to look for help on the Internet. There found a page with relevant information aobut this topic. The page (if you are interested: &lt;a href="http://www.voip-sip-sdk.com/p_456-voip-android-integration-voip.html)"&gt;http://www.voip-sip-sdk.com/p_456-voip-android-integration-voip.html)&lt;/a&gt; also provided code snippets that handle the physical buttons and the rotation features of the mobile devices. I belive that the information provided by the page will also be usful for other developers.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/flash/429483/429483/mobile-application-development-with-adobe-flash-builder/</guid>
      <pubDate>Mon, 10 Sep 2012 00:53:57 -0700</pubDate>
      <category>Flash development</category>
    </item>
    <item>
      <title>Webinar development in Flash</title>
      <link>http://www.programmersheaven.com/mb/flash/428339/428339/webinar-development-in-flash/</link>
      <description>Hi,&lt;br /&gt;
&lt;br /&gt;
I need to develop a webinar in Flash and I’m using this sample program for this purpose &lt;a href="http://www.voip-sip-sdk.com/p_399-flash-webinar-web-conference-voip.html."&gt;http://www.voip-sip-sdk.com/p_399-flash-webinar-web-conference-voip.html.&lt;/a&gt; Please help me a little! Which development environment should I use: Visual Studio 2010(recommended) or Adobe Flash Builder 4.5?&lt;br /&gt;
Thanks for your help in advance!&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
&lt;br /&gt;
Frank&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/flash/428339/428339/webinar-development-in-flash/</guid>
      <pubDate>Wed, 18 Apr 2012 05:55:44 -0700</pubDate>
      <category>Flash development</category>
    </item>
    <item>
      <title>Flash overlapping on Facebook login</title>
      <link>http://www.programmersheaven.com/mb/flash/426604/426604/flash-overlapping-on-facebook-login/</link>
      <description>Hi All,&lt;br /&gt;
&lt;br /&gt;
 Attached is the screenshot of my [Busines] Facebook page for which I have used flash. Flash is integrated into facebook using Facebook iframe.&lt;br /&gt;
&lt;br /&gt;
 Problem is flash is overlapping on sign-up [Login] pop-up of Facebook.&lt;br /&gt;
&lt;br /&gt;
 Looking for help to get rid of this.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br&gt;&lt;br&gt;&lt;strong&gt;Attachment:&lt;/strong&gt; &lt;a href="http://www.programmersheaven.com/mb/DownloadAttachment.aspx?AttachmentID=2255"&gt;FB_Screenshot_.jpg&lt;/a&gt; (72858 bytes | downloaded 103 times)</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/flash/426604/426604/flash-overlapping-on-facebook-login/</guid>
      <pubDate>Mon, 26 Dec 2011 03:17:22 -0700</pubDate>
      <category>Flash development</category>
    </item>
    <item>
      <title>Flash overlapping on Facebook login</title>
      <link>http://www.programmersheaven.com/mb/flash/426603/426603/flash-overlapping-on-facebook-login/</link>
      <description>Hi All,&lt;br /&gt;
&lt;br /&gt;
 Attached is the screenshot of my [Busines] Facebook page for which I have used flash. Flash is integrated into facebook using Facebook iframe.&lt;br /&gt;
&lt;br /&gt;
 Problem is flash is overlapping on sign-up [Login] pop-up of Facebook.&lt;br /&gt;
&lt;br /&gt;
 Looking for help to get rid of this.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br&gt;&lt;br&gt;&lt;strong&gt;Attachment:&lt;/strong&gt; &lt;a href="http://www.programmersheaven.com/mb/DownloadAttachment.aspx?AttachmentID=2254"&gt;FB_Screenshot_.jpg&lt;/a&gt; (72858 bytes | downloaded 88 times)</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/flash/426603/426603/flash-overlapping-on-facebook-login/</guid>
      <pubDate>Mon, 26 Dec 2011 03:15:31 -0700</pubDate>
      <category>Flash development</category>
    </item>
    <item>
      <title>Prevent autoplay in my music player</title>
      <link>http://www.programmersheaven.com/mb/flash/425574/425574/prevent-autoplay-in-my-music-player/</link>
      <description>I need a simple change for my script below. The music keeps on autoplay as soon as it loads. How do it stop it from autoplay?&lt;br /&gt;
&lt;br /&gt;
I tried stop(); but it doesn't work.&lt;br /&gt;
Pls help. Im a noob in this.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
import flash.filters.DropShadowFilter;


var infostruc:Array = [];
var xmlData:XML = new XML();
xmlData.ignoreWhite = true;



//////////////////////////////// VARIABLES START /////////////////////////////
xmlData.load('songs.xml');					//name of XML with songs
this.mvolume = 100;							//sound volume
this.equalizer_visible = true;				//show equalizer bars
this.shuffle_songs = false;					//enable/disable shuffle
var showTime = true;						//show actual position text
//////////////////////////////// VARIABLES END /////////////////////////////

mySound = new Sound();
this.player_mc.play_mc._visible=false;
this.current=-1;
this.pausetime = 0;
this.player_mc.song_name_txt.autoSize = true;
this.player_mc.song_artist_txt.autoSize = true;
this.player_mc.mute_mc.stop();


player_mc.bar1_mc._visible = player_mc.bar2_mc._visible = player_mc.bar3_mc._visible = equalizer_visible;
this.player_mc.song_time_txt._visible = showTime;

function newSound(link){
	this.mySound = new Sound();
	
	mySound.onSoundComplete = function(){
		loadNext();
	}
	mySound.setVolume(this.mvolume);
	mySound.loadSound(link,true);
	startBars();


}




function startBars(){
	player_mc.bar1_mc.gotoAndPlay(1);
	player_mc.bar2_mc.gotoAndPlay(10);
	player_mc.bar3_mc.gotoAndPlay(15);
			
}

function stopBars(){
	player_mc.bar1_mc.gotoAndStop(1);
	player_mc.bar2_mc.gotoAndStop(1);
	player_mc.bar3_mc.gotoAndStop(1);
}


this.player_mc.stop_mc.onPress = function(){
	mySound.stop();
	pausetime = 0;
	player_mc.play_mc._visible=true;
	player_mc.pause_mc._visible=false;
	stopBars();
}

this.player_mc.play_mc.onPress = function(){
	mySound.start(pausetime / 1000);
	player_mc.pause_mc._visible=true;
	player_mc.play_mc._visible=false;
	startBars();
}
this.player_mc.pause_mc.onPress = function(){
	pausetime = mySound.position;
	mySound.stop();
	player_mc.play_mc._visible=true;
	player_mc.pause_mc._visible=false;
	stopBars();
}

this.player_mc.next_mc.onPress = function(){
	loadNext();
	player_mc.pause_mc._visible=true;
	player_mc.play_mc._visible=false;
}

this.player_mc.prev_mc.onPress = function(){
	loadPrev();
	player_mc.pause_mc._visible=true;
	player_mc.play_mc._visible=false;
}

this.player_mc.mute_mc.onPress = function(){
	if(mySound.getVolume() != 0)
	{
		mySound.setVolume(0);
		player_mc.mute_mc.gotoAndStop(2);
	}else{
		mySound.setVolume(mvolume);
		player_mc.mute_mc.gotoAndStop(1);
	}
}

function updateName(id){
	if(infostruc[id].pic_url)
		loadUrl(infostruc[id].pic_url);
	else
		this.player_mc.picture_mc._visible = false;
	
	if(infostruc[id].name)
		this.player_mc.song_name_txt.text = infostruc[id].name;
	else
		this.player_mc.song_name_txt.text = infostruc[id].link;
		
	if(infostruc[id].artist)
		this.player_mc.song_artist_txt.text = infostruc[id].artist;
}

function getNextId(){
	if(infostruc.length==current+1)
		return 0;
	else
		return current+1;
}
function getPrevId(){
	if(0==current)
		return infostruc.length-1;
	else
		return current-1;
}

function loadNext(){
	current = getNextId();
	updateName(current);
	newSound(infostruc[current].link);
}

function loadPrev(){
	this.current = getPrevId();
	updateName(this.current);
	newSound(infostruc[current].link);
}

function f1()
{
 // percent loaded
 buffered=Math.floor((mySound.getBytesLoaded()/mySo
und.getBytesTotal())* 45);

 // display progress on the display
 //if(buffered&amp;lt;100) { totaltime=buffered; totaltime = totaltime+"%"; }

 // resize sound playing bar
 player_mc.position._xscale=(mySound.position/mySou
nd.duration)* 45;
 player_mc.duration._xscale=buffered;

 // display how many seconds played
 playedseconds=Math.floor(mySound.position/1000);
 playedtime=Math.floor(playedseconds/60) + ":" + playedseconds%60;
 
 timeseconds=Math.floor(mySound.duration/1000);
 time=Math.floor(timeseconds/60) + ":" + timeseconds%60;

 // if stopped remove sound bar
 //if(action=="stop"){ sndbar._xscale=0; }

 /*if(pause==1){
  pausepos=mySnd.position;
  mySnd.stop();
 }*/
 
 player_mc.song_time_txt.text = playedtime + ' / ' +time;
 //song_time_txt.text = playedtime ;

}



setInterval(f1,100);


var mclistener:Object = new Object();
mclistener.onLoadInit = function(target_mc:MovieClip){
		target_mc._width = 75;
		target_mc._height = 75;
		var myDropShadowFilter = new DropShadowFilter(0,65,0x333333,0.15,15,15,2,3,fals
e,false,false);
		target_mc.filters = [myDropShadowFilter];
}

mclistener.onLoadComplete = function(target_mc:MovieClip){
	target_mc._parent._parent.gotoAndPlay(2);
}

var image_mcl:MovieClipLoader = new MovieClipLoader();
image_mcl.addListener(mclistener);


MovieClip.prototype.loadUrl = function(url) {
	stopBars();
	image_mcl.loadClip(url,this.player_mc.picture_mc.i
mage_mc);	
}

player_mc.duration.onPress = function(){
	
	var pos = (player_mc._xmouse - player_mc.duration._x) / player_mc.duration._width;
	mySound.start( Math.floor(mySound.duration * pos) / 1000 );	
}

Array.prototype.shuffle=function(){
   for(i=0;i&amp;lt;this.length;i++){
      var tmp=this[i];
      var randomNum=random(this.length);
      this[i]=this[randomNum];
      this[randomNum]=tmp;
   }
}

xmlData.onLoad = function(success:Boolean):Void  {
	
	if (success) {
		for (var i:Number = -1; this.childNodes[0].childNodes[++i]; ) {
			var cNode:XMLNode = this.childNodes[0].childNodes[i].childNodes;
			var url:String = cNode[0].childNodes[0].nodeValue ? unescape(cNode[0].childNodes[0].nodeValue) : unknownSong;
			var pic:String = cNode[1].childNodes[0].nodeValue ? unescape(cNode[1].childNodes[0].nodeValue) : unknownSong;
			var nm:String = cNode[2].childNodes[0].nodeValue ? unescape(cNode[2].childNodes[0].nodeValue) : unknownSong;
			var ar:String = cNode[3].childNodes[0].nodeValue ? unescape(cNode[3].childNodes[0].nodeValue) : unknownSong;
			infostruc.push({link:url, name:nm, pic_url:pic,artist:ar});
		}
		this.song_name_txt.text = "";
		if(shuffle_songs==true)
			infostruc.shuffle();
			
		loadNext();
	} else {
		this.song_name_txt.text = "XML error";
		this.song_artist_txt.text = "";
	}
};


&lt;/pre&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/flash/425574/425574/prevent-autoplay-in-my-music-player/</guid>
      <pubDate>Fri, 04 Nov 2011 03:16:11 -0700</pubDate>
      <category>Flash development</category>
    </item>
    <item>
      <title>This post has been deleted.</title>
      <link>http://www.programmersheaven.com/mb/flash/397866/424602/this-post-has-been-deleted/#424602</link>
      <description>This post has been deleted.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/flash/397866/424602/this-post-has-been-deleted/#424602</guid>
      <pubDate>Thu, 25 Aug 2011 05:49:45 -0700</pubDate>
      <category>Flash development</category>
    </item>
    <item>
      <title>This post has been deleted.</title>
      <link>http://www.programmersheaven.com/mb/flash/397866/424601/this-post-has-been-deleted/#424601</link>
      <description>This post has been deleted.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/flash/397866/424601/this-post-has-been-deleted/#424601</guid>
      <pubDate>Thu, 25 Aug 2011 05:47:55 -0700</pubDate>
      <category>Flash development</category>
    </item>
    <item>
      <title>Re: How to add flash videos to blog</title>
      <link>http://www.programmersheaven.com/mb/flash/397866/424600/re-how-to-add-flash-videos-to-blog/#424600</link>
      <description>Joomla and wordpress provide easy plugins for this purpose.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/flash/397866/424600/re-how-to-add-flash-videos-to-blog/#424600</guid>
      <pubDate>Thu, 25 Aug 2011 05:46:05 -0700</pubDate>
      <category>Flash development</category>
    </item>
    <item>
      <title>Flash development in Visual Studio</title>
      <link>http://www.programmersheaven.com/mb/flash/423537/423537/flash-development-in-visual-studio/</link>
      <description>Is there any possibilities to develop Flash in Visual Studio?</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/flash/423537/423537/flash-development-in-visual-studio/</guid>
      <pubDate>Fri, 29 Apr 2011 08:13:08 -0700</pubDate>
      <category>Flash development</category>
    </item>
    <item>
      <title>Pls help</title>
      <link>http://www.programmersheaven.com/mb/flash/422530/422530/pls-help/</link>
      <description>Is there a way to change the timer in a game like this??&lt;br /&gt;
&lt;a href="http://www.carlsberg.com.hk/rugby7/index.php?p=1"&gt;http://www.carlsberg.com.hk/rugby7/index.php?p=1&lt;/a&gt;&lt;br /&gt;
I have tried to change it but it is written in milliseconds, can u pls help&lt;br /&gt;
thx&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/flash/422530/422530/pls-help/</guid>
      <pubDate>Thu, 17 Mar 2011 10:52:01 -0700</pubDate>
      <category>Flash development</category>
    </item>
    <item>
      <title>Flash</title>
      <link>http://www.programmersheaven.com/mb/flash/422507/422507/flash/</link>
      <description>hello, does someone know what is the term of flash used by youtube after the video play?&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/flash/422507/422507/flash/</guid>
      <pubDate>Thu, 17 Mar 2011 00:32:49 -0700</pubDate>
      <category>Flash development</category>
    </item>
    <item>
      <title>Re: How to add flash videos to blog</title>
      <link>http://www.programmersheaven.com/mb/flash/397866/421696/re-how-to-add-flash-videos-to-blog/#421696</link>
      <description>I think there is no need for us to add flash videos to blog.&lt;br /&gt;
If you add flash videos on your blog, it is bad for your blog's rank on google or other search engine.&lt;br /&gt;
Well, it is just my own opinion.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/flash/397866/421696/re-how-to-add-flash-videos-to-blog/#421696</guid>
      <pubDate>Sat, 12 Feb 2011 18:47:06 -0700</pubDate>
      <category>Flash development</category>
    </item>
    <item>
      <title>Flash multiplayer card game basic questions</title>
      <link>http://www.programmersheaven.com/mb/flash/421596/421596/flash-multiplayer-card-game-basic-questions/</link>
      <description>I want to make an online multiplayer card game based in flash but I guess I would need to learn another language.&lt;br /&gt;
&lt;br /&gt;
Can anyone give me some suggestions how to get started.&lt;br /&gt;
Such as any good book to read?&lt;br /&gt;
&lt;br /&gt;
Any tips would be greatly appreciated... Thanks.&lt;br /&gt;
&lt;br /&gt;
Keith&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/flash/421596/421596/flash-multiplayer-card-game-basic-questions/</guid>
      <pubDate>Wed, 09 Feb 2011 07:19:50 -0700</pubDate>
      <category>Flash development</category>
    </item>
    <item>
      <title>This post has been deleted.</title>
      <link>http://www.programmersheaven.com/mb/flash/420364/420527/this-post-has-been-deleted/#420527</link>
      <description>This post has been deleted.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/flash/420364/420527/this-post-has-been-deleted/#420527</guid>
      <pubDate>Mon, 27 Dec 2010 06:26:25 -0700</pubDate>
      <category>Flash development</category>
    </item>
    <item>
      <title>Play SWF without flash player installed</title>
      <link>http://www.programmersheaven.com/mb/flash/420364/420364/play-swf-without-flash-player-installed/</link>
      <description>Is it possible to play flash without flash-player installed? I heard that SWF file and flash player itself may be included into one EXE file.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/flash/420364/420364/play-swf-without-flash-player-installed/</guid>
      <pubDate>Sun, 19 Dec 2010 02:00:48 -0700</pubDate>
      <category>Flash development</category>
    </item>
  </channel>
</rss>