<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.3" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Fading out volume using TweenLite</title>
	<link>http://www.zedia.net/2008/fading-out-volume-using-tweenlite/</link>
	<description>Flash, ActionScript, SEO and everything in between</description>
	<pubDate>Mon, 01 Dec 2008 18:33:50 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.3</generator>

	<item>
		<title>By: peterjakes</title>
		<link>http://www.zedia.net/2008/fading-out-volume-using-tweenlite/#comment-2458</link>
		<dc:creator>peterjakes</dc:creator>
		<pubDate>Tue, 07 Oct 2008 14:05:29 +0000</pubDate>
		<guid>http://www.zedia.net/2008/fading-out-volume-using-tweenlite/#comment-2458</guid>
		<description>I'm getting a ReferenceError: Error #1056: Cannot create property volume on flash.media.SoundChannel.</description>
		<content:encoded><![CDATA[<p>I&#8217;m getting a ReferenceError: Error #1056: Cannot create property volume on flash.media.SoundChannel.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jack</title>
		<link>http://www.zedia.net/2008/fading-out-volume-using-tweenlite/#comment-1631</link>
		<dc:creator>Jack</dc:creator>
		<pubDate>Tue, 08 Apr 2008 16:59:58 +0000</pubDate>
		<guid>http://www.zedia.net/2008/fading-out-volume-using-tweenlite/#comment-1631</guid>
		<description>Believe it or not, it's actually easier than you think to fade the volume using TweenLite. It'll take care of the intermediate object for you, and it'll control the volume of any SoundChannel or MovieClip. Your code could be simplified to look like this instead:

var someSound:Sound = new Sound(new URLRequest("MySound.mp3"));
var someChannel:SoundChannel = someSound.play(0, 99999);
TweenLite.to(someChannel, 1, {volume:0, onComplete:stopSound});

function stopSound():void{
	someChannel.stop();
}

stop();

Oh, and by the way, you might want to check out TweenMax - it's like TweenLite on steroids. I just launched it a few days ago and it includes a bunch of new features. Since it builds on top of TweenLite, it'll do ANYTHING TweenLite can do, plus a bunch more.

See more at www.TweenMax.com

Thanks again for the great posts on how to more effectively use the TweenLite family of classes.</description>
		<content:encoded><![CDATA[<p>Believe it or not, it&#8217;s actually easier than you think to fade the volume using TweenLite. It&#8217;ll take care of the intermediate object for you, and it&#8217;ll control the volume of any SoundChannel or MovieClip. Your code could be simplified to look like this instead:</p>
<p>var someSound:Sound = new Sound(new URLRequest(&#8221;MySound.mp3&#8243;));<br />
var someChannel:SoundChannel = someSound.play(0, 99999);<br />
TweenLite.to(someChannel, 1, {volume:0, onComplete:stopSound});</p>
<p>function stopSound():void{<br />
	someChannel.stop();<br />
}</p>
<p>stop();</p>
<p>Oh, and by the way, you might want to check out TweenMax - it&#8217;s like TweenLite on steroids. I just launched it a few days ago and it includes a bunch of new features. Since it builds on top of TweenLite, it&#8217;ll do ANYTHING TweenLite can do, plus a bunch more.</p>
<p>See more at <a href="http://www.TweenMax.com" rel="nofollow">www.TweenMax.com</a></p>
<p>Thanks again for the great posts on how to more effectively use the TweenLite family of classes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: A little bit about Sound &#124; Using the Sound, SoundChannel, SoundTransform classes in ActionScript 3 &#124; zedia flash blog</title>
		<link>http://www.zedia.net/2008/fading-out-volume-using-tweenlite/#comment-1629</link>
		<dc:creator>A little bit about Sound &#124; Using the Sound, SoundChannel, SoundTransform classes in ActionScript 3 &#124; zedia flash blog</dc:creator>
		<pubDate>Tue, 08 Apr 2008 03:32:58 +0000</pubDate>
		<guid>http://www.zedia.net/2008/fading-out-volume-using-tweenlite/#comment-1629</guid>
		<description>[...] and everything in between      &#171; Converting a RGB color and Alpha to ARGB in ActionScript 3 Fading out volume using TweenLite [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] and everything in between      &laquo; Converting a RGB color and Alpha to ARGB in ActionScript 3 Fading out volume using TweenLite [&#8230;]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
