<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>36Flavours.com &#187; as3</title>
	<atom:link href="http://36flavours.com/tag/as3/feed/" rel="self" type="application/rss+xml" />
	<link>http://36flavours.com</link>
	<description>A taste of something different...</description>
	<lastBuildDate>Mon, 19 Apr 2010 20:01:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>AS3: Stop all sounds from playing</title>
		<link>http://36flavours.com/2009/01/as3-stop-all-sounds-from-playing/</link>
		<comments>http://36flavours.com/2009/01/as3-stop-all-sounds-from-playing/#comments</comments>
		<pubDate>Wed, 21 Jan 2009 17:46:25 +0000</pubDate>
		<dc:creator>Steve Whiteley</dc:creator>
				<category><![CDATA[ActionScript3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[sound]]></category>
		<category><![CDATA[soundmixer]]></category>

		<guid isPermaLink="false">http://sha.re.it/?p=120</guid>
		<description><![CDATA[If you ever need to stop all the sounds playing in flash using ActionScript3, you can do so using the following method. First include the SoundMixer class: import flash.media.SoundMixer; Then to stop the sounds call the stopAll method: SoundMixer.stopAll&#40;&#41;;]]></description>
			<content:encoded><![CDATA[<p class="first">If you ever need to stop <strong>all</strong> the sounds playing in flash using ActionScript3, you can do so using the following method.</p>
<p>First include the SoundMixer class:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.media</span>.<span style="color: #004993;">SoundMixer</span>;</pre></div></div>

<p>Then to stop the sounds call the stopAll method:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #004993;">SoundMixer</span>.<span style="color: #004993;">stopAll</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://36flavours.com/2009/01/as3-stop-all-sounds-from-playing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash AS3: Play sound from the library</title>
		<link>http://36flavours.com/2009/01/flash-as3-play-sound-from-library/</link>
		<comments>http://36flavours.com/2009/01/flash-as3-play-sound-from-library/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 22:05:46 +0000</pubDate>
		<dc:creator>Steve Whiteley</dc:creator>
				<category><![CDATA[ActionScript3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[play]]></category>
		<category><![CDATA[sound]]></category>

		<guid isPermaLink="false">http://sha.re.it/?p=82</guid>
		<description><![CDATA[In order to play a sound from the library you can use the following simple AS3 code: var snd:Beep = new Beep&#40;&#41;; snd.play&#40;&#41;; You must also assign your sound clip a class name by right clicking the sound in the library and checking the export for ActionScript option. In the example above the class name [...]]]></description>
			<content:encoded><![CDATA[<p class="first">In order to play a sound from the library you can use the following simple AS3 code:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #6699cc; font-weight: bold;">var</span> snd<span style="color: #000000; font-weight: bold;">:</span>Beep = <span style="color: #0033ff; font-weight: bold;">new</span> Beep<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
snd.<span style="color: #004993;">play</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;</pre></div></div>

<p>You must also assign your sound clip a class name by right clicking the sound in the library and checking the export for ActionScript option. In the example above the class name was set to &#8220;Beep&#8221;.</p>
<p>The default base class  is set to &#8220;Sound&#8221;, allowing inheritance of methods from the <a title="Flash ActionScript 3.0 Sound Class Documentation" href="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/media/Sound.html" target="_blank">Sound Class</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://36flavours.com/2009/01/flash-as3-play-sound-from-library/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
