AS3 New Tween Animation Engine Called gTween from Grant Skinner

August 19, 2008 — drawk

There is another new Tween engine from Grant Skinner called gTween, further demonstrating the fun in coding with AS3. Frameworks and kits are duplicating much like the Python community because the language and platform are quite empowering. Do we have too many Tween engines, maybe but be glad the flash community has this many and share, it only makes each iteration better.

Additional Features

gTween has a lot of additional features. I’m not going to write about all of them, but here are a few:

autoHide, sets the target’s visible to false when the tweened alpha is 0

autoReverse, reverses the tween when it ends (and plays it backwards if autoPlay is true).

smartRotate, rotates in shortest direction

supports using setSize for tweening height and width on components

support for updating properties like matrix and colorTransform automatically during a tween.