<?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: TweenLite (AS3) - A Lightweight (3K) and FAST Tweening Engine</title>
	<atom:link href="http://blog.greensock.com/tweenliteas3/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.greensock.com/tweenliteas3/</link>
	<description>ActionScript Enthusaist</description>
	<pubDate>Sat, 17 May 2008 14:35:03 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: happyMan</title>
		<link>http://blog.greensock.com/tweenliteas3/#comment-17151</link>
		<dc:creator>happyMan</dc:creator>
		<pubDate>Wed, 30 Apr 2008 11:06:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.greensock.com/tweenliteas3/#comment-17151</guid>
		<description>wow. i was just starting to look at the liveDocs on the tween class with a heavy heart when i found this and my day got brighter. If i use this as much as i think i will i'll be donating for sure. you just saved me a half days head scratching at least. thanks muchly.</description>
		<content:encoded><![CDATA[<p>wow. i was just starting to look at the liveDocs on the tween class with a heavy heart when i found this and my day got brighter. If i use this as much as i think i will i&#8217;ll be donating for sure. you just saved me a half days head scratching at least. thanks muchly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jack</title>
		<link>http://blog.greensock.com/tweenliteas3/#comment-16072</link>
		<dc:creator>jack</dc:creator>
		<pubDate>Mon, 31 Mar 2008 22:08:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.greensock.com/tweenliteas3/#comment-16072</guid>
		<description>Yeah, Andrew, that's a unique challenge. Not impossible to overcome, though. You can selectively remove tweens with the complete() or removeTween() methods. You'd just need to keep track of your TweenLite instances to know which ones to delete. For example, maybe you store the ROLL_OVER and ROLL_OUT tweens in a variable and then kill it when necessary, kinda like:

var rollTween:TweenLite;
function onRollOver($e:MouseEvent):void {
       TweenLite.removeTween(rollTween);
       rollTween = TweenLite.to(my_mc, 1, {scaleX:1.2, overwrite:false});
}
function onRollOut($e:MouseEvent):void {
       TweenLite.removeTween(rollTween);
       rollTween = TweenLite.to(my_mc, 1, {scaleX:1, overwrite:false});
}
function onClick($e:MouseEvent):void {
       TweenLite.to(my_mc, 1, {scaleX:2});
}</description>
		<content:encoded><![CDATA[<p>Yeah, Andrew, that&#8217;s a unique challenge. Not impossible to overcome, though. You can selectively remove tweens with the complete() or removeTween() methods. You&#8217;d just need to keep track of your TweenLite instances to know which ones to delete. For example, maybe you store the ROLL_OVER and ROLL_OUT tweens in a variable and then kill it when necessary, kinda like:</p>
<p>var rollTween:TweenLite;<br />
function onRollOver($e:MouseEvent):void {<br />
       TweenLite.removeTween(rollTween);<br />
       rollTween = TweenLite.to(my_mc, 1, {scaleX:1.2, overwrite:false});<br />
}<br />
function onRollOut($e:MouseEvent):void {<br />
       TweenLite.removeTween(rollTween);<br />
       rollTween = TweenLite.to(my_mc, 1, {scaleX:1, overwrite:false});<br />
}<br />
function onClick($e:MouseEvent):void {<br />
       TweenLite.to(my_mc, 1, {scaleX:2});<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Merskin</title>
		<link>http://blog.greensock.com/tweenliteas3/#comment-15910</link>
		<dc:creator>Andrew Merskin</dc:creator>
		<pubDate>Fri, 28 Mar 2008 18:02:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.greensock.com/tweenliteas3/#comment-15910</guid>
		<description>Hey!

I had a quick question about killing tweens.

My problem is, I have TweenLite tweens in my ROLL_OVER, ROLL_OUT, and CLICK events.  When I click on my object, it plays the tween inside of my CLICK handler, which has overwrite set to false.  When I roll out of my object, the CLICK tween gets overwritten anyway.

I don't have overwrite: false set on the ROLL_OVER, and ROLL_OUT tweens because I want them to overwrite each other when I roll over or roll out of the object, but I don't want them overwriting my CLICK tween ever.

What can I do?

Thanks,
Andy</description>
		<content:encoded><![CDATA[<p>Hey!</p>
<p>I had a quick question about killing tweens.</p>
<p>My problem is, I have TweenLite tweens in my ROLL_OVER, ROLL_OUT, and CLICK events.  When I click on my object, it plays the tween inside of my CLICK handler, which has overwrite set to false.  When I roll out of my object, the CLICK tween gets overwritten anyway.</p>
<p>I don&#8217;t have overwrite: false set on the ROLL_OVER, and ROLL_OUT tweens because I want them to overwrite each other when I roll over or roll out of the object, but I don&#8217;t want them overwriting my CLICK tween ever.</p>
<p>What can I do?</p>
<p>Thanks,<br />
Andy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MadTea</title>
		<link>http://blog.greensock.com/tweenliteas3/#comment-15892</link>
		<dc:creator>MadTea</dc:creator>
		<pubDate>Fri, 28 Mar 2008 11:34:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.greensock.com/tweenliteas3/#comment-15892</guid>
		<description>Heya!

Just wanted to pop by and thank you for making my life easier. Tweenlite has been with me for a bit over 4 months now, and I've loved every second of time spent with its smooth algorithmic self. It makes me wobbly, but in a good way. ;)

So keep up the good work, it is well appreciated!

Cheers
MadTea</description>
		<content:encoded><![CDATA[<p>Heya!</p>
<p>Just wanted to pop by and thank you for making my life easier. Tweenlite has been with me for a bit over 4 months now, and I&#8217;ve loved every second of time spent with its smooth algorithmic self. It makes me wobbly, but in a good way. ;)</p>
<p>So keep up the good work, it is well appreciated!</p>
<p>Cheers<br />
MadTea</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anoxamoon</title>
		<link>http://blog.greensock.com/tweenliteas3/#comment-15796</link>
		<dc:creator>anoxamoon</dc:creator>
		<pubDate>Wed, 26 Mar 2008 07:34:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.greensock.com/tweenliteas3/#comment-15796</guid>
		<description>TWEENLITE is the best thing that happened to me this year!

I JUST LOVE it.... I can't get enough of it. I am making effects that would've been rendered impossible using other tween engines!</description>
		<content:encoded><![CDATA[<p>TWEENLITE is the best thing that happened to me this year!</p>
<p>I JUST LOVE it&#8230;. I can&#8217;t get enough of it. I am making effects that would&#8217;ve been rendered impossible using other tween engines!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jack</title>
		<link>http://blog.greensock.com/tweenliteas3/#comment-15566</link>
		<dc:creator>jack</dc:creator>
		<pubDate>Fri, 21 Mar 2008 16:06:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.greensock.com/tweenliteas3/#comment-15566</guid>
		<description>felixz, I'm not exactly sure what your "this.sound" refers to, but I tried this and it worked perfectly:

var snd = new Sound();
snd.load(new URLRequest("myMusic.mp3"));
this.soundChannel = this.snd.play();
TweenLite.from(this.soundChannel, 5, {volume:0});

Keep in mind, though, that this was a local test and I didn't add any code that would wait to start the tween until the sound loaded (if you try this over a web connection, there will be some lag time in the MP3 load, and if you start the tween right away it might finish before the sound even loaded)</description>
		<content:encoded><![CDATA[<p>felixz, I&#8217;m not exactly sure what your &#8220;this.sound&#8221; refers to, but I tried this and it worked perfectly:</p>
<p>var snd = new Sound();<br />
snd.load(new URLRequest(&#8221;myMusic.mp3&#8243;));<br />
this.soundChannel = this.snd.play();<br />
TweenLite.from(this.soundChannel, 5, {volume:0});</p>
<p>Keep in mind, though, that this was a local test and I didn&#8217;t add any code that would wait to start the tween until the sound loaded (if you try this over a web connection, there will be some lag time in the MP3 load, and if you start the tween right away it might finish before the sound even loaded)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
