<?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 (deprecated)</title>
	<atom:link href="http://www.greensock.com/tweenfilterliteas3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.greensock.com/tweenfilterliteas3/</link>
	<description>Engaging the internet</description>
	<lastBuildDate>Sun, 20 May 2012 04:01:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Jay</title>
		<link>http://www.greensock.com/tweenfilterliteas3/comment-page-1/#comment-758</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Thu, 25 Sep 2008 23:51:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.greensock.com/tweenfilterliteas3/#comment-758</guid>
		<description>Thank you so much for sharing that, you are truly a hero of the flash dev world... I feel a donation will be imminent...</description>
		<content:encoded><![CDATA[<p>Thank you so much for sharing that, you are truly a hero of the flash dev world&#8230; I feel a donation will be imminent&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jack</title>
		<link>http://www.greensock.com/tweenfilterliteas3/comment-page-1/#comment-759</link>
		<dc:creator>jack</dc:creator>
		<pubDate>Mon, 19 May 2008 14:31:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.greensock.com/tweenfilterliteas3/#comment-759</guid>
		<description>Cardigan, there isn&#039;t currently a built-in way to automatically kill a filter after tweening it, but I may add that feature in a future version. Right now, though, you can just use an onComplete function to kill your filter(s). To remove all filters from a DisplayObject, just set its filters property to an empty Array in your custom onComplete function, like:

my_mc.filters = [];

Or to kill a specific kind of filter, you could set up an onComplete function like:

function removeFilterType($object:DisplayObject, $filterType:BitmapFilter):void {
	var f:Array = $object.filters;
	var a:Array = []; //remaining filters
	for (var i:int = f.length - 1; i &gt; -1; i--) {
		if (!(f[i] is $filterType)) {
			a.push(f[i]);
		}
	}
	$object.filters = a;
}

and then in your tween, you&#039;d do something like:

TweenFilterLite.to(my_mc, 1, {blurFilter:{blurX:20}, onComplete:removeFilterType, onCompleteParams:[my_mc, BlurFilter]});

(don&#039;t forget to import the flash.filters.BlurFilter class)</description>
		<content:encoded><![CDATA[<p>Cardigan, there isn&#8217;t currently a built-in way to automatically kill a filter after tweening it, but I may add that feature in a future version. Right now, though, you can just use an onComplete function to kill your filter(s). To remove all filters from a DisplayObject, just set its filters property to an empty Array in your custom onComplete function, like:</p>
<p>my_mc.filters = [];</p>
<p>Or to kill a specific kind of filter, you could set up an onComplete function like:</p>
<p>function removeFilterType($object:DisplayObject, $filterType:BitmapFilter):void {<br />
	var f:Array = $object.filters;<br />
	var a:Array = []; //remaining filters<br />
	for (var i:int = f.length &#8211; 1; i > -1; i&#8211;) {<br />
		if (!(f[i] is $filterType)) {<br />
			a.push(f[i]);<br />
		}<br />
	}<br />
	$object.filters = a;<br />
}</p>
<p>and then in your tween, you&#8217;d do something like:</p>
<p>TweenFilterLite.to(my_mc, 1, {blurFilter:{blurX:20}, onComplete:removeFilterType, onCompleteParams:[my_mc, BlurFilter]});</p>
<p>(don&#8217;t forget to import the flash.filters.BlurFilter class)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cardigan</title>
		<link>http://www.greensock.com/tweenfilterliteas3/comment-page-1/#comment-761</link>
		<dc:creator>Cardigan</dc:creator>
		<pubDate>Mon, 19 May 2008 14:01:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.greensock.com/tweenfilterliteas3/#comment-761</guid>
		<description>Thanks very much for this tool. Is it possible to remove a filter applied with tweenFilterLite?</description>
		<content:encoded><![CDATA[<p>Thanks very much for this tool. Is it possible to remove a filter applied with tweenFilterLite?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brroy</title>
		<link>http://www.greensock.com/tweenfilterliteas3/comment-page-1/#comment-760</link>
		<dc:creator>brroy</dc:creator>
		<pubDate>Mon, 12 May 2008 15:25:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.greensock.com/tweenfilterliteas3/#comment-760</guid>
		<description>Iâ€™ve been looking for a solid animation package to accompany AS3 projects and I think Iâ€™ve finally found it. Kudos on your work!

helipross.com</description>
		<content:encoded><![CDATA[<p>Iâ€™ve been looking for a solid animation package to accompany AS3 projects and I think Iâ€™ve finally found it. Kudos on your work!</p>
<p>helipross.com</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erich</title>
		<link>http://www.greensock.com/tweenfilterliteas3/comment-page-1/#comment-762</link>
		<dc:creator>Erich</dc:creator>
		<pubDate>Thu, 08 May 2008 17:46:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.greensock.com/tweenfilterliteas3/#comment-762</guid>
		<description>Jack, thanks for creating these great classes. You&#039;ve saved me hours of time. If you&#039;re ever in Chicago, I owe you a beer.</description>
		<content:encoded><![CDATA[<p>Jack, thanks for creating these great classes. You&#8217;ve saved me hours of time. If you&#8217;re ever in Chicago, I owe you a beer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lauren</title>
		<link>http://www.greensock.com/tweenfilterliteas3/comment-page-1/#comment-757</link>
		<dc:creator>Lauren</dc:creator>
		<pubDate>Sun, 20 Apr 2008 20:31:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.greensock.com/tweenfilterliteas3/#comment-757</guid>
		<description>Thanks for providing this! Fantastic tool.</description>
		<content:encoded><![CDATA[<p>Thanks for providing this! Fantastic tool.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jack</title>
		<link>http://www.greensock.com/tweenfilterliteas3/comment-page-1/#comment-756</link>
		<dc:creator>jack</dc:creator>
		<pubDate>Fri, 04 Apr 2008 04:36:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.greensock.com/tweenfilterliteas3/#comment-756</guid>
		<description>Nicolas, you can definitely create the effect you&#039;re looking for using the ColorTransformProxy utility class I created for use in conjunction with TweenLite for tweening all the various ColorTransform-related properties, including redOffset, greenOffset, blueOffset, redMultiplier, greenMultiplier, blueMultiplier, tint, and even tintPercent and brightness!. Sign up for Club GreenSock and you&#039;ll get that class as a bonus (as well as a TrasnformMatrixProxy class). See http://blog.greensock.com/club/ for details.</description>
		<content:encoded><![CDATA[<p>Nicolas, you can definitely create the effect you&#8217;re looking for using the ColorTransformProxy utility class I created for use in conjunction with TweenLite for tweening all the various ColorTransform-related properties, including redOffset, greenOffset, blueOffset, redMultiplier, greenMultiplier, blueMultiplier, tint, and even tintPercent and brightness!. Sign up for Club GreenSock and you&#8217;ll get that class as a bonus (as well as a TrasnformMatrixProxy class). See <a href="http://blog.greensock.com/club/" rel="nofollow">http://blog.greensock.com/club/</a> for details.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicolas</title>
		<link>http://www.greensock.com/tweenfilterliteas3/comment-page-1/#comment-755</link>
		<dc:creator>Nicolas</dc:creator>
		<pubDate>Thu, 03 Apr 2008 10:11:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.greensock.com/tweenfilterliteas3/#comment-755</guid>
		<description>How i can dublicate effect like flash bulb. It is simple in Tweener.
Tweener.addTween(_loader,{_color_rb:255, _color_gb:255, _color_bb:255, time:1, transition:&quot;easeOutQuad&quot;});

I try use brightness with param 3  but result is poor for me.</description>
		<content:encoded><![CDATA[<p>How i can dublicate effect like flash bulb. It is simple in Tweener.<br />
Tweener.addTween(_loader,{_color_rb:255, _color_gb:255, _color_bb:255, time:1, transition:&#8221;easeOutQuad&#8221;});</p>
<p>I try use brightness with param 3  but result is poor for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony</title>
		<link>http://www.greensock.com/tweenfilterliteas3/comment-page-1/#comment-754</link>
		<dc:creator>Tony</dc:creator>
		<pubDate>Thu, 13 Mar 2008 07:32:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.greensock.com/tweenfilterliteas3/#comment-754</guid>
		<description>John:
Or you could just randomize the &quot;hue&quot; color parameter which is handily a 0-360 scale in TweenFilterLite:

theHue = (Math.round(Math.random() * 360)) ;
TweenFilterLite.to(my_mc, 2, {colorMatrixFilter:{amount:1, hue:theHue}});

You can enhance the effect with the brightness parameter as well (-1 to 1 scale). Very cool result with sky images.
--Tony</description>
		<content:encoded><![CDATA[<p>John:<br />
Or you could just randomize the &#8220;hue&#8221; color parameter which is handily a 0-360 scale in TweenFilterLite:</p>
<p>theHue = (Math.round(Math.random() * 360)) ;<br />
TweenFilterLite.to(my_mc, 2, {colorMatrixFilter:{amount:1, hue:theHue}});</p>
<p>You can enhance the effect with the brightness parameter as well (-1 to 1 scale). Very cool result with sky images.<br />
&#8211;Tony</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Biffer</title>
		<link>http://www.greensock.com/tweenfilterliteas3/comment-page-1/#comment-753</link>
		<dc:creator>Biffer</dc:creator>
		<pubDate>Tue, 11 Mar 2008 16:07:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.greensock.com/tweenfilterliteas3/#comment-753</guid>
		<description>Hi there i have added an additional class for those who wish to use Events. This is a seperate class - so just use this instead of TweenLite.

A data object is dispatched with the Event so you can still pass around onStartParams etc in the usual way but just pick them up from the event listener.

hope this is some good to you event loving types.

http://biffcom.com/resource/tweenLiteEventMod/TweenLiteEventModExample.zip

Thanks,

Biffer Rowley</description>
		<content:encoded><![CDATA[<p>Hi there i have added an additional class for those who wish to use Events. This is a seperate class &#8211; so just use this instead of TweenLite.</p>
<p>A data object is dispatched with the Event so you can still pass around onStartParams etc in the usual way but just pick them up from the event listener.</p>
<p>hope this is some good to you event loving types.</p>
<p><a href="http://biffcom.com/resource/tweenLiteEventMod/TweenLiteEventModExample.zip" rel="nofollow">http://biffcom.com/resource/tweenLiteEventMod/TweenLiteEventModExample.zip</a></p>
<p>Thanks,</p>
<p>Biffer Rowley</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: www.greensock.com @ 2012-05-21 06:34:24 -->
