<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: AS3 Writing A Musical Loop</title>
	<atom:link href="http://www.isgoodstuff.com/2008/07/01/writing-a-musical-loop-in-actionscript-30/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.isgoodstuff.com/2008/07/01/writing-a-musical-loop-in-actionscript-30/</link>
	<description>All the good stuff here!</description>
	<lastBuildDate>Thu, 09 Feb 2012 13:10:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
	<item>
		<title>By: Raymond</title>
		<link>http://www.isgoodstuff.com/2008/07/01/writing-a-musical-loop-in-actionscript-30/comment-page-1/#comment-169</link>
		<dc:creator>Raymond</dc:creator>
		<pubDate>Tue, 06 Jan 2009 16:43:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.isgoodstuff.com/2008/07/01/writing-a-musical-loop-in-actionscript-30/#comment-169</guid>
		<description>Thanks :)</description>
		<content:encoded><![CDATA[<p>Thanks <img src='http://www.isgoodstuff.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: beedee</title>
		<link>http://www.isgoodstuff.com/2008/07/01/writing-a-musical-loop-in-actionscript-30/comment-page-1/#comment-132</link>
		<dc:creator>beedee</dc:creator>
		<pubDate>Mon, 17 Nov 2008 13:55:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.isgoodstuff.com/2008/07/01/writing-a-musical-loop-in-actionscript-30/#comment-132</guid>
		<description>Thank you again Mr. Goodstuff :)  You are AWESOME!!  I&#039;ve been trying to get this going for ages!!  Lightbulb is burning brightly for the masses :)</description>
		<content:encoded><![CDATA[<p>Thank you again Mr. Goodstuff <img src='http://www.isgoodstuff.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   You are AWESOME!!  I&#8217;ve been trying to get this going for ages!!  Lightbulb is burning brightly for the masses <img src='http://www.isgoodstuff.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mr.GoodStuff</title>
		<link>http://www.isgoodstuff.com/2008/07/01/writing-a-musical-loop-in-actionscript-30/comment-page-1/#comment-131</link>
		<dc:creator>Mr.GoodStuff</dc:creator>
		<pubDate>Sun, 16 Nov 2008 22:35:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.isgoodstuff.com/2008/07/01/writing-a-musical-loop-in-actionscript-30/#comment-131</guid>
		<description>That&#039;s because I used that as a boolean to control the onclick event. Notice line 9 is playing the script by default. you will need to add one more line after line 9. songChannel.stop();

You can refer to AS3: Scripting OnClick Play Sound for more info about how sound works. That&#039;s the core basic function for all sound. This article is mainly on how to establish music loops.</description>
		<content:encoded><![CDATA[<p>That&#8217;s because I used that as a boolean to control the onclick event. Notice line 9 is playing the script by default. you will need to add one more line after line 9. songChannel.stop();</p>
<p>You can refer to AS3: Scripting OnClick Play Sound for more info about how sound works. That&#8217;s the core basic function for all sound. This article is mainly on how to establish music loops.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: beedee</title>
		<link>http://www.isgoodstuff.com/2008/07/01/writing-a-musical-loop-in-actionscript-30/comment-page-1/#comment-130</link>
		<dc:creator>beedee</dc:creator>
		<pubDate>Sun, 16 Nov 2008 03:17:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.isgoodstuff.com/2008/07/01/writing-a-musical-loop-in-actionscript-30/#comment-130</guid>
		<description>...Sorry, I set it to FALSE, (not true) but it still played automatically...  :(</description>
		<content:encoded><![CDATA[<p>&#8230;Sorry, I set it to FALSE, (not true) but it still played automatically&#8230;  <img src='http://www.isgoodstuff.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: beedee</title>
		<link>http://www.isgoodstuff.com/2008/07/01/writing-a-musical-loop-in-actionscript-30/comment-page-1/#comment-129</link>
		<dc:creator>beedee</dc:creator>
		<pubDate>Sun, 16 Nov 2008 03:13:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.isgoodstuff.com/2008/07/01/writing-a-musical-loop-in-actionscript-30/#comment-129</guid>
		<description>Awesome!  Thanks Mr GoodStuff :)

One more question please - when the SWF is first opened, it plays straight away without the user clicking... How can I make it NOT play (until the user clicks the button?)

I have already tried 

var soundOn:Boolean = true; //music is ON when we start

(I set it to true, but it still played when the SWF opened...  Maybe I did the wrong thing here?)

Any tips would be great, thank you so much!</description>
		<content:encoded><![CDATA[<p>Awesome!  Thanks Mr GoodStuff <img src='http://www.isgoodstuff.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>One more question please &#8211; when the SWF is first opened, it plays straight away without the user clicking&#8230; How can I make it NOT play (until the user clicks the button?)</p>
<p>I have already tried </p>
<p>var soundOn:Boolean = true; //music is ON when we start</p>
<p>(I set it to true, but it still played when the SWF opened&#8230;  Maybe I did the wrong thing here?)</p>
<p>Any tips would be great, thank you so much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mr.GoodStuff</title>
		<link>http://www.isgoodstuff.com/2008/07/01/writing-a-musical-loop-in-actionscript-30/comment-page-1/#comment-128</link>
		<dc:creator>Mr.GoodStuff</dc:creator>
		<pubDate>Sun, 16 Nov 2008 03:07:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.isgoodstuff.com/2008/07/01/writing-a-musical-loop-in-actionscript-30/#comment-128</guid>
		<description>you have to import some mp3 / wav file to the library. Use Ctrl+R select your mp3 file into library then, select the file on the library and right click. Export settings export as actionscript called Music.</description>
		<content:encoded><![CDATA[<p>you have to import some mp3 / wav file to the library. Use Ctrl+R select your mp3 file into library then, select the file on the library and right click. Export settings export as actionscript called Music.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

