<?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 SoundManager Class for Flash Updated for Tweener</title>
	<atom:link href="http://drawlogic.com/2009/01/16/as3-soundmanager-class-for-flash-updated-for-tweener/feed/" rel="self" type="application/rss+xml" />
	<link>http://drawlogic.com/2009/01/16/as3-soundmanager-class-for-flash-updated-for-tweener/</link>
	<description>interactive and game development technologies for the web - flash, flex, unity3d, silverlight, javascript</description>
	<lastBuildDate>Fri, 18 May 2012 16:16:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Jason</title>
		<link>http://drawlogic.com/2009/01/16/as3-soundmanager-class-for-flash-updated-for-tweener/comment-page-1/#comment-2702</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Wed, 08 Apr 2009 08:22:41 +0000</pubDate>
		<guid isPermaLink="false">http://drawlogic.com/?p=351#comment-2702</guid>
		<description>Hi,
The SoundManager is a perfect fit for my project...  thanks!! However I am having problems getting sounds to play consistently....  it seems when I play small mp3 files (anything less than 256kb) the sound plays in the IDE but does not play in the browser I have tried FF3 IE7 and IE8 ... larger Mp3 (343Kb) files work perfectly. This is very bizarre and &#039;doing my head in&#039; 

Can anyone throw me a lifeline.. am I missing some browser plugin ? are the mp3&#039;s too small to load and play ?</description>
		<content:encoded><![CDATA[<p>Hi,<br />
The SoundManager is a perfect fit for my project&#8230;  thanks!! However I am having problems getting sounds to play consistently&#8230;.  it seems when I play small mp3 files (anything less than 256kb) the sound plays in the IDE but does not play in the browser I have tried FF3 IE7 and IE8 &#8230; larger Mp3 (343Kb) files work perfectly. This is very bizarre and &#8216;doing my head in&#8217; </p>
<p>Can anyone throw me a lifeline.. am I missing some browser plugin ? are the mp3&#8242;s too small to load and play ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Metodología actionscript 3.0 - Mi configuración &#124; blog.arturoparacuellos.com</title>
		<link>http://drawlogic.com/2009/01/16/as3-soundmanager-class-for-flash-updated-for-tweener/comment-page-1/#comment-2595</link>
		<dc:creator>Metodología actionscript 3.0 - Mi configuración &#124; blog.arturoparacuellos.com</dc:creator>
		<pubDate>Mon, 09 Mar 2009 08:30:23 +0000</pubDate>
		<guid isPermaLink="false">http://drawlogic.com/?p=351#comment-2595</guid>
		<description>[...] (http://evolve.reintroducing.com/2008/07/15/news/as3-soundmanager/) - SoundManager con Tweener (http://drawlogic.com/2009/01/16/as3-soundmanager-class-for-flash-updated-for-tweener/) - Stats (http://code.google.com/p/mrdoob/wiki/stats) - cientouno (son las clases propias que uso [...]</description>
		<content:encoded><![CDATA[<p>[...] (<a href="http://evolve.reintroducing.com/2008/07/15/news/as3-soundmanager/" rel="nofollow">http://evolve.reintroducing.com/2008/07/15/news/as3-soundmanager/</a>) &#8211; SoundManager con Tweener (<a href="http://drawlogic.com/2009/01/16/as3-soundmanager-class-for-flash-updated-for-tweener/" rel="nofollow">http://drawlogic.com/2009/01/16/as3-soundmanager-class-for-flash-updated-for-tweener/</a>) &#8211; Stats (<a href="http://code.google.com/p/mrdoob/wiki/stats" rel="nofollow">http://code.google.com/p/mrdoob/wiki/stats</a>) &#8211; cientouno (son las clases propias que uso [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Flash Speaks ActionScript Community &#187; Blog Archive &#187; AS3 SoundManager Class for Flash</title>
		<link>http://drawlogic.com/2009/01/16/as3-soundmanager-class-for-flash-updated-for-tweener/comment-page-1/#comment-2578</link>
		<dc:creator>Flash Speaks ActionScript Community &#187; Blog Archive &#187; AS3 SoundManager Class for Flash</dc:creator>
		<pubDate>Sat, 28 Feb 2009 03:59:26 +0000</pubDate>
		<guid isPermaLink="false">http://drawlogic.com/?p=351#comment-2578</guid>
		<description>[...] via DrawLogic [...]</description>
		<content:encoded><![CDATA[<p>[...] via DrawLogic [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: drawk</title>
		<link>http://drawlogic.com/2009/01/16/as3-soundmanager-class-for-flash-updated-for-tweener/comment-page-1/#comment-2479</link>
		<dc:creator>drawk</dc:creator>
		<pubDate>Fri, 23 Jan 2009 01:44:26 +0000</pubDate>
		<guid isPermaLink="false">http://drawlogic.com/?p=351#comment-2479</guid>
		<description>@martin you could cycle all loaded sounds and then trigger a fade.  Also, you can play the sound twice.  

I will try to put up a small sample in the next day or two from the last time I used this.  It highlighted nearly all uses of the manager.  I used it because without a sound manager sounds sometimes get lost or keep playing on occasion randomly on one game I was working on.  Might be a lost reference but it is all checked, using a soundmanager solved that.</description>
		<content:encoded><![CDATA[<p>@martin you could cycle all loaded sounds and then trigger a fade.  Also, you can play the sound twice.  </p>
<p>I will try to put up a small sample in the next day or two from the last time I used this.  It highlighted nearly all uses of the manager.  I used it because without a sound manager sounds sometimes get lost or keep playing on occasion randomly on one game I was working on.  Might be a lost reference but it is all checked, using a soundmanager solved that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andreas Ricci</title>
		<link>http://drawlogic.com/2009/01/16/as3-soundmanager-class-for-flash-updated-for-tweener/comment-page-1/#comment-2476</link>
		<dc:creator>Andreas Ricci</dc:creator>
		<pubDate>Thu, 22 Jan 2009 21:35:54 +0000</pubDate>
		<guid isPermaLink="false">http://drawlogic.com/?p=351#comment-2476</guid>
		<description>Hello and thank you for releasing this class!

I am getting an error while trying to use this class. All information is below:

import com.Classes.SoundManager; (I changed the package definition in SoundManager.as to fit)

var manageSound:SoundManager = SoundManager.getInstance();

manageSound.addLibrarySound(&#039;basicBulletSoundClass&#039;, &#039;basicBulletSound&#039;);
manageSound.addLibrarySound(&#039;blitzBulletSoundClass&#039;, &#039;blitzBulletSound&#039;);
manageSound.addLibrarySound(&#039;giantBulletSoundClass&#039;, &#039;giantBulletSound&#039;);

And I get the error:

TypeError: Error #1007: Instantiation attempted on a non-constructor.
	at com.Classes::SoundManager/addLibrarySound()
	at TurretResistance_fla::MainTimeline/frame2()

---------------------
Any ideas?</description>
		<content:encoded><![CDATA[<p>Hello and thank you for releasing this class!</p>
<p>I am getting an error while trying to use this class. All information is below:</p>
<p>import com.Classes.SoundManager; (I changed the package definition in SoundManager.as to fit)</p>
<p>var manageSound:SoundManager = SoundManager.getInstance();</p>
<p>manageSound.addLibrarySound(&#8216;basicBulletSoundClass&#8217;, &#8216;basicBulletSound&#8217;);<br />
manageSound.addLibrarySound(&#8216;blitzBulletSoundClass&#8217;, &#8216;blitzBulletSound&#8217;);<br />
manageSound.addLibrarySound(&#8216;giantBulletSoundClass&#8217;, &#8216;giantBulletSound&#8217;);</p>
<p>And I get the error:</p>
<p>TypeError: Error #1007: Instantiation attempted on a non-constructor.<br />
	at com.Classes::SoundManager/addLibrarySound()<br />
	at TurretResistance_fla::MainTimeline/frame2()</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nate Chatellier</title>
		<link>http://drawlogic.com/2009/01/16/as3-soundmanager-class-for-flash-updated-for-tweener/comment-page-1/#comment-2474</link>
		<dc:creator>Nate Chatellier</dc:creator>
		<pubDate>Thu, 22 Jan 2009 17:26:26 +0000</pubDate>
		<guid isPermaLink="false">http://drawlogic.com/?p=351#comment-2474</guid>
		<description>Thanks Ryan. Handy.</description>
		<content:encoded><![CDATA[<p>Thanks Ryan. Handy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://drawlogic.com/2009/01/16/as3-soundmanager-class-for-flash-updated-for-tweener/comment-page-1/#comment-2473</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Thu, 22 Jan 2009 13:30:12 +0000</pubDate>
		<guid isPermaLink="false">http://drawlogic.com/?p=351#comment-2473</guid>
		<description>I got a few comments:

#1, could you have a function that fades/sets the GLOBAL volume, sometimes you have this mute-button (doesn&#039;t stop music, just fades it down to zero), or volume-slider on a site. Would be nice to have that in this class.

#2, one question - can you play the same sound twice at the &#039;same time&#039;? In games and interactions, you often needs that. In case in a game where you are shooting or whatever, you want to have multiple sounds playing of the same sound. Damn, I hope you understand ;)

Thanks for reading this ;)</description>
		<content:encoded><![CDATA[<p>I got a few comments:</p>
<p>#1, could you have a function that fades/sets the GLOBAL volume, sometimes you have this mute-button (doesn&#8217;t stop music, just fades it down to zero), or volume-slider on a site. Would be nice to have that in this class.</p>
<p>#2, one question &#8211; can you play the same sound twice at the &#8216;same time&#8217;? In games and interactions, you often needs that. In case in a game where you are shooting or whatever, you want to have multiple sounds playing of the same sound. Damn, I hope you understand <img src='http://drawlogic.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Thanks for reading this <img src='http://drawlogic.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Przybylski</title>
		<link>http://drawlogic.com/2009/01/16/as3-soundmanager-class-for-flash-updated-for-tweener/comment-page-1/#comment-2448</link>
		<dc:creator>Matt Przybylski</dc:creator>
		<pubDate>Sat, 17 Jan 2009 19:09:45 +0000</pubDate>
		<guid isPermaLink="false">http://drawlogic.com/?p=351#comment-2448</guid>
		<description>Thanks for posting this, drawlogic.  

@Kirth Feel free to use it however you want; hell, you could wipe your butt with it if you so desire :P</description>
		<content:encoded><![CDATA[<p>Thanks for posting this, drawlogic.  </p>
<p>@Kirth Feel free to use it however you want; hell, you could wipe your butt with it if you so desire <img src='http://drawlogic.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: drawk</title>
		<link>http://drawlogic.com/2009/01/16/as3-soundmanager-class-for-flash-updated-for-tweener/comment-page-1/#comment-2447</link>
		<dc:creator>drawk</dc:creator>
		<pubDate>Sat, 17 Jan 2009 07:35:19 +0000</pubDate>
		<guid isPermaLink="false">http://drawlogic.com/?p=351#comment-2447</guid>
		<description>ok fixed sorry about that the parser clipped it at &lt;this in the loop and disappeared the addExternalSoundMethod.

The Tweener updates are fairly small if you need to do them manually just include the reference and then update this method. Two lines edit (reference and tween).  That is the beauty of good toolkits. 

		/**
		 * Fades the sound to the specified volume over the specified amount of time.
		 *
		 * @param $name The string identifier of the sound
		 * @param $targVolume The target volume to fade to, between 0 and 1 (default: 0)
		 * @param $fadeLength The time to fade over, in seconds (default: 1)
		 *
		 * @return void
		 */
		public function fadeSound($name:String, $targVolume:Number = 0, $fadeLength:Number = 1):void
		{
			var fadeChannel:SoundChannel = this._soundsDict[$name].channel;
			SoundShortcuts.init();
			Tweener.addTween(fadeChannel, { _sound_volume: $targVolume, time: $fadeLength, transition:&quot;linear&quot; } );
			//TweenLite.to(fadeChannel, $fadeLength, {volume: $targVolume});
		}</description>
		<content:encoded><![CDATA[<p>ok fixed sorry about that the parser clipped it at <this in the loop and disappeared the addExternalSoundMethod.</p>
<p>The Tweener updates are fairly small if you need to do them manually just include the reference and then update this method. Two lines edit (reference and tween).  That is the beauty of good toolkits. </p>
<p>		/**<br />
		 * Fades the sound to the specified volume over the specified amount of time.<br />
		 *<br />
		 * @param $name The string identifier of the sound<br />
		 * @param $targVolume The target volume to fade to, between 0 and 1 (default: 0)<br />
		 * @param $fadeLength The time to fade over, in seconds (default: 1)<br />
		 *<br />
		 * @return void<br />
		 */<br />
		public function fadeSound($name:String, $targVolume:Number = 0, $fadeLength:Number = 1):void<br />
		{<br />
			var fadeChannel:SoundChannel = this._soundsDict[$name].channel;<br />
			SoundShortcuts.init();<br />
			Tweener.addTween(fadeChannel, { _sound_volume: $targVolume, time: $fadeLength, transition:&#8221;linear&#8221; } );<br />
			//TweenLite.to(fadeChannel, $fadeLength, {volume: $targVolume});<br />
		}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kirth</title>
		<link>http://drawlogic.com/2009/01/16/as3-soundmanager-class-for-flash-updated-for-tweener/comment-page-1/#comment-2446</link>
		<dc:creator>Kirth</dc:creator>
		<pubDate>Sat, 17 Jan 2009 07:28:45 +0000</pubDate>
		<guid isPermaLink="false">http://drawlogic.com/?p=351#comment-2446</guid>
		<description>Marcel is almost right... You clipped out the end of addLibrarySound() and the beginning of addExternalSound(). The 2 functions are the same as they appear on  http://evolve.reintroducing.com/2008/07/15/news/as3-soundmanager/ so the impatient can repair the relevant code from there.  

Also What is the license on this file?</description>
		<content:encoded><![CDATA[<p>Marcel is almost right&#8230; You clipped out the end of addLibrarySound() and the beginning of addExternalSound(). The 2 functions are the same as they appear on  <a href="http://evolve.reintroducing.com/2008/07/15/news/as3-soundmanager/" rel="nofollow">http://evolve.reintroducing.com/2008/07/15/news/as3-soundmanager/</a> so the impatient can repair the relevant code from there.  </p>
<p>Also What is the license on this file?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

