TweenLite (AS3) – A Lightweight Yet Powerful Tweening Engine
by Carlos Pinho, June 26th, 2007
  • Share
  • Share

flash_platform_icons.gifVery nice example about tweening with AS2 and AS3 by Jack. The interesting point is that he is taking only 3k file size, to make tweening. As he says “TweenLite is simple, very fast, and more lightweight than any other popular tweening engine.”

The main objectives of this work are:

  • Minimize file size
  • Minimize the amount of code required to initiate a tween
  • Tween multiple properties with a single call (including a MovieClip’s volume and color)
  • Maximize performance
  • Build in the ability to call any function when a tween has completed and pass any number of parameters to that function
  • Build in the ability to call any function when a tween starts and pass any number of parameters to that function
  • Allow the user to set a delay before the tween takes effect (useful when looping through an array and you want to have tweens activate in a sequential way)

Check the full article and example here.

Brgds,

CP

Copy and Paste the code below
Email and IM
Websites
Forums
Get This

No Responses to “TweenLite (AS3) – A Lightweight Yet Powerful Tweening Engine”

  1. marf Says:

    If you need to create a custom tween for a Tweenlite I have written this handy app that allows you to do just that here http://marfastic.blogspot.com/2008/08/create-custom-tweens-for-tweenlite.html .

Let leave a Comments for this post.