<?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: TweenFilterLite (AS2) (deprecated)</title>
	<atom:link href="http://www.greensock.com/tweenfilterliteas2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.greensock.com/tweenfilterliteas2/</link>
	<description>Engaging the internet</description>
	<lastBuildDate>Thu, 11 Mar 2010 07:12:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: the-enemy</title>
		<link>http://www.greensock.com/tweenfilterliteas2/comment-page-1/#comment-617</link>
		<dc:creator>the-enemy</dc:creator>
		<pubDate>Wed, 09 Jul 2008 16:17:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.greensock.com/?p=9#comment-617</guid>
		<description>Hey Jack,

Thanks a bunch for TweenLite // TweenFilterLite. They&#039;re both so easy to work with it&#039;s saving me hours of work.

Great Job! Keep it up!

Regards,
The Enemy.</description>
		<content:encoded><![CDATA[<p>Hey Jack,</p>
<p>Thanks a bunch for TweenLite // TweenFilterLite. They&#8217;re both so easy to work with it&#8217;s saving me hours of work.</p>
<p>Great Job! Keep it up!</p>
<p>Regards,<br />
The Enemy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jack</title>
		<link>http://www.greensock.com/tweenfilterliteas2/comment-page-1/#comment-616</link>
		<dc:creator>jack</dc:creator>
		<pubDate>Fri, 04 Apr 2008 00:56:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.greensock.com/?p=9#comment-616</guid>
		<description>heaversm, here&#039;s an easy way to match exactly what you created in the Flash CS3 (or Flash 8) authoring environment in terms of the ColorMatrixFilter. All you need to do is get the necessary values in the matrix array and pass it to the new version of TweenFilterLite (7.04). Here&#039;s some code that grabs those values, traces them to your output window (in case you want to copy/paste), clears the filter, and tweens it back into place after a 1 second delay:

import gs.*;
import flash.filters.*;

function getCurrentMatrix($mc:MovieClip):Array {
	var filters:Array = $mc.filters;
	for (var i:Number = 0; i &lt; filters.length; i++) {
		if (filters[i] instanceof ColorMatrixFilter) {
			return filters[i].matrix;
		}
	}
}

var curMatrix:Array = getCurrentMatrix(mc);
trace(&quot;TweenFilterLite.to(mc, 3, {colorMatrixFilter:{matrix:[&quot; + curMatrix + &quot;]}})&quot;);

mc.filters = []; //clears filters;
TweenFilterLite.to(mc, 3, {colorMatrixFilter:{matrix:curMatrix}, delay:1});</description>
		<content:encoded><![CDATA[<p>heaversm, here&#8217;s an easy way to match exactly what you created in the Flash CS3 (or Flash <img src='http://www.greensock.com/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> authoring environment in terms of the ColorMatrixFilter. All you need to do is get the necessary values in the matrix array and pass it to the new version of TweenFilterLite (7.04). Here&#8217;s some code that grabs those values, traces them to your output window (in case you want to copy/paste), clears the filter, and tweens it back into place after a 1 second delay:</p>
<p>import gs.*;<br />
import flash.filters.*;</p>
<p>function getCurrentMatrix($mc:MovieClip):Array {<br />
	var filters:Array = $mc.filters;<br />
	for (var i:Number = 0; i < filters.length; i++) {<br />
		if (filters[i] instanceof ColorMatrixFilter) {<br />
			return filters[i].matrix;<br />
		}<br />
	}<br />
}</p>
<p>var curMatrix:Array = getCurrentMatrix(mc);<br />
trace(&#8220;TweenFilterLite.to(mc, 3, {colorMatrixFilter:{matrix:[" + curMatrix + "]}})&#8221;);</p>
<p>mc.filters = []; //clears filters;<br />
TweenFilterLite.to(mc, 3, {colorMatrixFilter:{matrix:curMatrix}, delay:1});</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: heaversm</title>
		<link>http://www.greensock.com/tweenfilterliteas2/comment-page-1/#comment-615</link>
		<dc:creator>heaversm</dc:creator>
		<pubDate>Thu, 03 Apr 2008 21:20:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.greensock.com/?p=9#comment-615</guid>
		<description>Hey - very cool!  One question - is there an easy translation between the numbers you use for the color matrix and the numbers used in flash&#039;s CS3&#039;s built in filter tweener.  I have some tweens I want to make to a color, and I have their exact values in flash (example: HUE: -63, SATURATION: 70) - but this doesn&#039;t really translate over to Tweenfilter lite.  How best to approximate those values?  Nice work!</description>
		<content:encoded><![CDATA[<p>Hey &#8211; very cool!  One question &#8211; is there an easy translation between the numbers you use for the color matrix and the numbers used in flash&#8217;s CS3&#8217;s built in filter tweener.  I have some tweens I want to make to a color, and I have their exact values in flash (example: HUE: -63, SATURATION: 70) &#8211; but this doesn&#8217;t really translate over to Tweenfilter lite.  How best to approximate those values?  Nice work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sacha jerrems</title>
		<link>http://www.greensock.com/tweenfilterliteas2/comment-page-1/#comment-614</link>
		<dc:creator>sacha jerrems</dc:creator>
		<pubDate>Sun, 24 Feb 2008 09:31:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.greensock.com/?p=9#comment-614</guid>
		<description>dude.
I&#039;ve been tweening tings for years...I&#039;ve been too complacent with the ol&#039; lmc_tween.as because you could write two tweens on the one movieclip without the first overwriting the second which I found no other tweener did...I just noticed you&#039;re little snippet of code: overwrite:false in your tweener...You&#039;re a F*&amp;king legend!! I am a better deviner after visiting your website tonight.
Radical</description>
		<content:encoded><![CDATA[<p>dude.<br />
I&#8217;ve been tweening tings for years&#8230;I&#8217;ve been too complacent with the ol&#8217; lmc_tween.as because you could write two tweens on the one movieclip without the first overwriting the second which I found no other tweener did&#8230;I just noticed you&#8217;re little snippet of code: overwrite:false in your tweener&#8230;You&#8217;re a F*&amp;king legend!! I am a better deviner after visiting your website tonight.<br />
Radical</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jack</title>
		<link>http://www.greensock.com/tweenfilterliteas2/comment-page-1/#comment-613</link>
		<dc:creator>jack</dc:creator>
		<pubDate>Wed, 23 Jan 2008 15:53:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.greensock.com/?p=9#comment-613</guid>
		<description>Michiel, I have avoiding adding pause/resume functionality to TweenLite in order to keep file size way down, but TweenMax is now officially released and it includes that feature (and many more). Check it out at www.TweenMax.com

Also, it&#039;s very easy to do the frame tween you&#039;re talking about. As of version 6, frame tweening is built into TweenLite!</description>
		<content:encoded><![CDATA[<p>Michiel, I have avoiding adding pause/resume functionality to TweenLite in order to keep file size way down, but TweenMax is now officially released and it includes that feature (and many more). Check it out at <a href="http://www.TweenMax.com" rel="nofollow">http://www.TweenMax.com</a></p>
<p>Also, it&#8217;s very easy to do the frame tween you&#8217;re talking about. As of version 6, frame tweening is built into TweenLite!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michiel</title>
		<link>http://www.greensock.com/tweenfilterliteas2/comment-page-1/#comment-612</link>
		<dc:creator>Michiel</dc:creator>
		<pubDate>Wed, 23 Jan 2008 15:17:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.greensock.com/?p=9#comment-612</guid>
		<description>I can think of just two more major functions. One would be the ability to pause (all) tweens. This would be wildly useful in some cases. Right now I&#039;m making a video banner which uses vector animations, but people are going to be pausing and playing the video.

Another possibility would be the ability to tween through a timeline animation. I once made an animation of a sunrise which used several motion tweens; the entire animation timeline was then tweened from start to end in a certain time, using a standard quadratic equation. It looked great, and works really well if the animation is long enough (to provide enough frames for low-movement parts of the equation).</description>
		<content:encoded><![CDATA[<p>I can think of just two more major functions. One would be the ability to pause (all) tweens. This would be wildly useful in some cases. Right now I&#8217;m making a video banner which uses vector animations, but people are going to be pausing and playing the video.</p>
<p>Another possibility would be the ability to tween through a timeline animation. I once made an animation of a sunrise which used several motion tweens; the entire animation timeline was then tweened from start to end in a certain time, using a standard quadratic equation. It looked great, and works really well if the animation is long enough (to provide enough frames for low-movement parts of the equation).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jack</title>
		<link>http://www.greensock.com/tweenfilterliteas2/comment-page-1/#comment-611</link>
		<dc:creator>jack</dc:creator>
		<pubDate>Mon, 21 Jan 2008 13:41:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.greensock.com/?p=9#comment-611</guid>
		<description>Alex, you should be able to do that without a problem - just remember that unless you set the &quot;overwrite&quot; property to false, TweenLite (and TweenFilterLite) will always overwrite existing tweens of the same object. So to move a MovieClip while adding a glow and removing a drop shadow, you could do something like:

TweenFilterLite.to(my_mc, 2, {glowFilter:{color:0xFF0000, strength:2, blurX:10, blurY:10}, _x:100, _y:300});
TweenFilterLite.to(my_mc, 2, {dropShadowFilter:{alpha:0}, overwrite:false});</description>
		<content:encoded><![CDATA[<p>Alex, you should be able to do that without a problem &#8211; just remember that unless you set the &#8220;overwrite&#8221; property to false, TweenLite (and TweenFilterLite) will always overwrite existing tweens of the same object. So to move a MovieClip while adding a glow and removing a drop shadow, you could do something like:</p>
<p>TweenFilterLite.to(my_mc, 2, {glowFilter:{color:0xFF0000, strength:2, blurX:10, blurY:10}, _x:100, _y:300});<br />
TweenFilterLite.to(my_mc, 2, {dropShadowFilter:{alpha:0}, overwrite:false});</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.greensock.com/tweenfilterliteas2/comment-page-1/#comment-610</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Mon, 21 Jan 2008 12:59:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.greensock.com/?p=9#comment-610</guid>
		<description>I have been using TweenLite for about a month now and all I can say is that your classes are absolutely brilliant! Thanks a lot!

One thing I&#039;m curious about is how you apply several filters at the same time to an object, lets say you want to move it while adding some glow and removing a drop shadow.</description>
		<content:encoded><![CDATA[<p>I have been using TweenLite for about a month now and all I can say is that your classes are absolutely brilliant! Thanks a lot!</p>
<p>One thing I&#8217;m curious about is how you apply several filters at the same time to an object, lets say you want to move it while adding some glow and removing a drop shadow.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Corey Calabresse</title>
		<link>http://www.greensock.com/tweenfilterliteas2/comment-page-1/#comment-609</link>
		<dc:creator>Corey Calabresse</dc:creator>
		<pubDate>Mon, 03 Sep 2007 18:20:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.greensock.com/?p=9#comment-609</guid>
		<description>I&#039;ve been teaching myself as2 &amp; as3, as well as everything else that goes with interactive design... and there&#039;s just some things that take a bit more than understanding the logic to figure out.  I&#039;ve been trying to understand the blurs and other filters for DAYS.  It&#039;s highly pertinent to a website i&#039;m strying to create.  You sir, are a miracle man in my book.  Every question I&#039;ve had with this project, you answered in entirety with this one blog alone.

You&#039;re a life saver... more importantly so, a sanity saver ;)

Thank you VERY much for taking the time with this,

C. W. Calabrese</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been teaching myself as2 &amp; as3, as well as everything else that goes with interactive design&#8230; and there&#8217;s just some things that take a bit more than understanding the logic to figure out.  I&#8217;ve been trying to understand the blurs and other filters for DAYS.  It&#8217;s highly pertinent to a website i&#8217;m strying to create.  You sir, are a miracle man in my book.  Every question I&#8217;ve had with this project, you answered in entirety with this one blog alone.</p>
<p>You&#8217;re a life saver&#8230; more importantly so, a sanity saver <img src='http://www.greensock.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Thank you VERY much for taking the time with this,</p>
<p>C. W. Calabrese</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jack</title>
		<link>http://www.greensock.com/tweenfilterliteas2/comment-page-1/#comment-607</link>
		<dc:creator>jack</dc:creator>
		<pubDate>Tue, 03 Jul 2007 13:53:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.greensock.com/?p=9#comment-607</guid>
		<description>Actually, Eagle, it&#039;s pretty simple to apply a colorize filter tween and also a drop shadow tween (or any filter) - just use two tweens and make sure the second one sets the overwrite property to false, like:

TweenFilterLite.to(my_mc, 2, {colorMatrixFilter:{colorize:0xFF0000}});
TweenFilterLite.to(my_mc, 2, {dropShadowFilter:{blurX:5, blurY:5, color:0x00FF00}, overwrite:false});</description>
		<content:encoded><![CDATA[<p>Actually, Eagle, it&#8217;s pretty simple to apply a colorize filter tween and also a drop shadow tween (or any filter) &#8211; just use two tweens and make sure the second one sets the overwrite property to false, like:</p>
<p>TweenFilterLite.to(my_mc, 2, {colorMatrixFilter:{colorize:0xFF0000}});<br />
TweenFilterLite.to(my_mc, 2, {dropShadowFilter:{blurX:5, blurY:5, color:0&#215;00FF00}, overwrite:false});</p>
]]></content:encoded>
	</item>
</channel>
</rss>
