<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Making an MP3 player in AS3</title>
	<atom:link href="http://www.clickpopmedia.com/2008/04/15/making-an-mp3-player-in-as3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.clickpopmedia.com/2008/04/15/making-an-mp3-player-in-as3/</link>
	<description>ClickPopMedia is a great little design and illustration firm.</description>
	<pubDate>Sun, 12 Oct 2008 07:39:16 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: rubin</title>
		<link>http://www.clickpopmedia.com/2008/04/15/making-an-mp3-player-in-as3/#comment-1848</link>
		<dc:creator>rubin</dc:creator>
		<pubDate>Sat, 06 Sep 2008 20:16:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.clickpopmedia.com/?p=250#comment-1848</guid>
		<description>i tried it not really working my guess is that its not reading the mp3main.as file</description>
		<content:encoded><![CDATA[<p>i tried it not really working my guess is that its not reading the mp3main.as file</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://www.clickpopmedia.com/2008/04/15/making-an-mp3-player-in-as3/#comment-1360</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Fri, 22 Aug 2008 02:21:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.clickpopmedia.com/?p=250#comment-1360</guid>
		<description>Hmmm... I was just testing it on my computer and it was working fine.  Try it online and see if it works in a webpage.  If it doesn't then we've got some more issues going on, but I'm not sure what they are yet.</description>
		<content:encoded><![CDATA[<p>Hmmm&#8230; I was just testing it on my computer and it was working fine.  Try it online and see if it works in a webpage.  If it doesn&#8217;t then we&#8217;ve got some more issues going on, but I&#8217;m not sure what they are yet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rubin</title>
		<link>http://www.clickpopmedia.com/2008/04/15/making-an-mp3-player-in-as3/#comment-1357</link>
		<dc:creator>Rubin</dc:creator>
		<pubDate>Fri, 22 Aug 2008 01:21:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.clickpopmedia.com/?p=250#comment-1357</guid>
		<description>hey sorry i've been busy 
first of all id like to thank you for your help above. I finally got it to work. Now i just have one more question; why cant i play the swf file on its own,for some reason it does not recognize the song list. in order to play the songs i have to open the fla file and hit control+enter. if i were to put the swf file in a dreamweaver file would it work? thanks a lot i appreciate your effort.</description>
		<content:encoded><![CDATA[<p>hey sorry i&#8217;ve been busy<br />
first of all id like to thank you for your help above. I finally got it to work. Now i just have one more question; why cant i play the swf file on its own,for some reason it does not recognize the song list. in order to play the songs i have to open the fla file and hit control+enter. if i were to put the swf file in a dreamweaver file would it work? thanks a lot i appreciate your effort.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://www.clickpopmedia.com/2008/04/15/making-an-mp3-player-in-as3/#comment-1284</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Fri, 15 Aug 2008 19:01:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.clickpopmedia.com/?p=250#comment-1284</guid>
		<description>Rubin,
First of all, try and avoid spaces in your file names. Secondably, that file path is all messed up.
switch the backslashes (\) with forslashes (/),
get rid of any spaces...  and rename the file to something a little simpler, like "song001_Lets_Get_It_On.mp3" (that's not required, but it will be nicer).
Also, avoid apostrophes in file names.

If you are testing this on your computer (or online) you only need the relative path to the file.  So, if the song and the player are in the same folder, you just need id="/&lt;em&gt;filename&lt;/em&gt;.mp3"

Hope that helps.</description>
		<content:encoded><![CDATA[<p>Rubin,<br />
First of all, try and avoid spaces in your file names. Secondably, that file path is all messed up.<br />
switch the backslashes (\) with forslashes (/),<br />
get rid of any spaces&#8230;  and rename the file to something a little simpler, like &#8220;song001_Lets_Get_It_On.mp3&#8243; (that&#8217;s not required, but it will be nicer).<br />
Also, avoid apostrophes in file names.</p>
<p>If you are testing this on your computer (or online) you only need the relative path to the file.  So, if the song and the player are in the same folder, you just need id=&#8221;/<em>filename</em>.mp3&#8243;</p>
<p>Hope that helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rubin</title>
		<link>http://www.clickpopmedia.com/2008/04/15/making-an-mp3-player-in-as3/#comment-1283</link>
		<dc:creator>Rubin</dc:creator>
		<pubDate>Fri, 15 Aug 2008 13:33:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.clickpopmedia.com/?p=250#comment-1283</guid>
		<description>hey everyone 
i am facing a bit of a problem with the xml part. Am i supposed to put the songs in from the web or from my computer. when i try to play it, for some reason it just wont play. help me please
example of xml format that i am using
-----------------------
song id="K:\MP3 Player Source Code\songs001 - Marvin Gaye - Let's Get It On .www.lokotorrents.com.mp3" disp="Let's ge it on - Marvin Gaye"/&#62;
-----------------
everything else is in the same format
when i try to play it i get this 


false eventPhase=2 text="Error #2032: Stream Error.

thanks a lot</description>
		<content:encoded><![CDATA[<p>hey everyone<br />
i am facing a bit of a problem with the xml part. Am i supposed to put the songs in from the web or from my computer. when i try to play it, for some reason it just wont play. help me please<br />
example of xml format that i am using<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
song id=&#8221;K:\MP3 Player Source Code\songs001 - Marvin Gaye - Let&#8217;s Get It On .www.lokotorrents.com.mp3&#8243; disp=&#8221;Let&#8217;s ge it on - Marvin Gaye&#8221;/&gt;<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
everything else is in the same format<br />
when i try to play it i get this </p>
<p>false eventPhase=2 text=&#8221;Error #2032: Stream Error.</p>
<p>thanks a lot</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johannes</title>
		<link>http://www.clickpopmedia.com/2008/04/15/making-an-mp3-player-in-as3/#comment-1222</link>
		<dc:creator>Johannes</dc:creator>
		<pubDate>Mon, 04 Aug 2008 10:16:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.clickpopmedia.com/?p=250#comment-1222</guid>
		<description>I´m ashamed, but can´t get it done...:( This is what it looks like now:
---------------------------------------
/*The constructor mainly sets up the event listeners, but it also
		starts loading the XML playlist file.*/
		public function Mp3Main() {
			position = 0;
			sndTrans = new SoundTransform(1);
			url = new URLRequest("music.xml");
			xmlLoad = new URLLoader(url);
			xmlLoad.addEventListener(Event.COMPLETE, xmlComplete);
						
			var myFormat:TextFormat = new TextFormat();
			myFormat.font = “Georgia”;
			myFormat.color = 0×00FF00;

			var b:List = new List();
			b.dataProvider = [{label:"Hello World"}];
			b.setStyle(”textFormat”, myFormat);
			addChild(b);
			
			playList.addEventListener(ListEvent.ITEM_CLICK, SnglClick, false, 0, true);
			/*vol_mc.addEventListener("volume_change", updateVolume, false, 0, true);*/
			seek_mc.addEventListener("seek_change", changeSeekBar, false, 0, true);
-----------------------------------------------
I copied the middle part from earlier posts here, and I still don´t see the new list on the scene. But actually I don´t want to create a new List but rather just change the text format on the existing one. How do I apply the format to the play list?</description>
		<content:encoded><![CDATA[<p>I´m ashamed, but can´t get it done&#8230;:( This is what it looks like now:<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
/*The constructor mainly sets up the event listeners, but it also<br />
		starts loading the XML playlist file.*/<br />
		public function Mp3Main() {<br />
			position = 0;<br />
			sndTrans = new SoundTransform(1);<br />
			url = new URLRequest(&#8221;music.xml&#8221;);<br />
			xmlLoad = new URLLoader(url);<br />
			xmlLoad.addEventListener(Event.COMPLETE, xmlComplete);</p>
<p>			var myFormat:TextFormat = new TextFormat();<br />
			myFormat.font = “Georgia”;<br />
			myFormat.color = 0×00FF00;</p>
<p>			var b:List = new List();<br />
			b.dataProvider = [{label:"Hello World"}];<br />
			b.setStyle(”textFormat”, myFormat);<br />
			addChild(b);</p>
<p>			playList.addEventListener(ListEvent.ITEM_CLICK, SnglClick, false, 0, true);<br />
			/*vol_mc.addEventListener(&#8221;volume_change&#8221;, updateVolume, false, 0, true);*/<br />
			seek_mc.addEventListener(&#8221;seek_change&#8221;, changeSeekBar, false, 0, true);<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
I copied the middle part from earlier posts here, and I still don´t see the new list on the scene. But actually I don´t want to create a new List but rather just change the text format on the existing one. How do I apply the format to the play list?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://www.clickpopmedia.com/2008/04/15/making-an-mp3-player-in-as3/#comment-1212</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Fri, 01 Aug 2008 22:00:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.clickpopmedia.com/?p=250#comment-1212</guid>
		<description>&lt;pre lang="actionscript"&gt;/*The constructor mainly sets up the event listeners, but it also
starts loading the XML playlist file.*/
public function Mp3Main() {
	index = 0;
	position = 0;
	sndTrans = new SoundTransform(vol_mc.percent);
...
}&lt;/pre&gt;
The class' name and constructor function are both Mp3Main.  The constructor is called automatically on creation of a new Mp3Main instance (and since this is our doc class, that's when the flash movie is loaded).</description>
		<content:encoded><![CDATA[<pre lang="actionscript">/*The constructor mainly sets up the event listeners, but it also
starts loading the XML playlist file.*/
public function Mp3Main() {
	index = 0;
	position = 0;
	sndTrans = new SoundTransform(vol_mc.percent);
...
}</pre>
<p>The class&#8217; name and constructor function are both Mp3Main.  The constructor is called automatically on creation of a new Mp3Main instance (and since this is our doc class, that&#8217;s when the flash movie is loaded).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johannes</title>
		<link>http://www.clickpopmedia.com/2008/04/15/making-an-mp3-player-in-as3/#comment-1211</link>
		<dc:creator>Johannes</dc:creator>
		<pubDate>Fri, 01 Aug 2008 21:35:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.clickpopmedia.com/?p=250#comment-1211</guid>
		<description>That´s exactly what I was looking for!

Regarding your previous answer: "I would probably put the code right in the constructor (the function with the same name as the class)". 
Are we talking about Mp3Main.as and could you please explain what you mean by "in the constructor (the function with the same name as the class)"?

Sorry ´bout all the questions...</description>
		<content:encoded><![CDATA[<p>That´s exactly what I was looking for!</p>
<p>Regarding your previous answer: &#8220;I would probably put the code right in the constructor (the function with the same name as the class)&#8221;.<br />
Are we talking about Mp3Main.as and could you please explain what you mean by &#8220;in the constructor (the function with the same name as the class)&#8221;?</p>
<p>Sorry ´bout all the questions&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://www.clickpopmedia.com/2008/04/15/making-an-mp3-player-in-as3/#comment-1202</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Fri, 01 Aug 2008 01:13:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.clickpopmedia.com/?p=250#comment-1202</guid>
		<description>Johannes,
Do you want it transparent like this?:
&lt;a href="http://www.clickpopmedia.com/projects/paul/ListExample.html" rel="nofollow"&gt;http://www.clickpopmedia.com/projects/paul/ListExample.html&lt;/a&gt;

To do that I also set the List_Skin's fill to transparent. It's white by default.</description>
		<content:encoded><![CDATA[<p>Johannes,<br />
Do you want it transparent like this?:<br />
<a href="http://www.clickpopmedia.com/projects/paul/ListExample.html" rel="nofollow">http://www.clickpopmedia.com/projects/paul/ListExample.html</a></p>
<p>To do that I also set the List_Skin&#8217;s fill to transparent. It&#8217;s white by default.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johannes</title>
		<link>http://www.clickpopmedia.com/2008/04/15/making-an-mp3-player-in-as3/#comment-1201</link>
		<dc:creator>Johannes</dc:creator>
		<pubDate>Thu, 31 Jul 2008 22:26:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.clickpopmedia.com/?p=250#comment-1201</guid>
		<description>Stupid, or..?

Finally I found the place to change the color for the play list: (Scene-&#62;Instance of List-&#62;Instance of CellRenderer). However, even though I pick "no color" as fill color the play list wont be transparent. Why?</description>
		<content:encoded><![CDATA[<p>Stupid, or..?</p>
<p>Finally I found the place to change the color for the play list: (Scene-&gt;Instance of List-&gt;Instance of CellRenderer). However, even though I pick &#8220;no color&#8221; as fill color the play list wont be transparent. Why?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
