How To: Use TweenLite for ActionScript 3.0 animation

Use TweenLite for ActionScript 3.0 animation

TweenLite is a great engine for tweens which can be used for ActionScript 2.0 and 3.0. Copy the Gs folder available on TweenLite's website in your fla. file. Create a text movie clip (tlmc). Then open up action script. First type import gs.TweenLite. Next tween an object and type TweenLite.form (tlmc.2.{alpha:0}). That's it, the text will fade in 2 seconds. This will simplify writing scripts in flash for action script 2.0 and 3.0.

It’s Black Friday week on WonderHowTo! Don’t miss out on all of the big sales in the Gadget Hacks and Null Byte shops. And if you’ve been wanting to take some classes without going into debt, check out our best deals on online courses for a variety of skill sets. Don’t miss out on these huge discounts:

See Gadget Hacks’s top 10 BF sales on online courses (up to 99% off) >

See Null Byte’s top 13 BF sales on online courses (up to 99% off) >

Our Best Phone Hacks

Gadget Hacks' tips — delivered daily.

Be the First to Comment

Share Your Thoughts

  • Hot
  • Latest