TweenLite + TweenFilterLite (2K) Tween Engines (AS2, AS3)

Hi All,

After seeing treatkor’s post, and knowing of TweenLite and the various work of Jack Doyle over at greensock, I did a quick search of the forums and found there was not any information regarding these nice classes. So I thought a dedicated post was in order so people could be aware of these and utilize them. They are very efficient/fast and work well for projects where file size is optimal. Enjoy!

Overview (from the greensock site):

Tweening. We all do it. Most of us have learned to avoid Adobe’s Tween class in favor of a more powerful, less code-heavy engine (Tweener, Fuse, MC Tween, etc.). Each has its own strengths & weaknesses. A few years back, I created TweenLite because I needed a very compact tweening engine that was fast and efficient (I couldn’t afford the file size bloat that came with the other tweening engines). It quickly became integral to my work flow. I figured others might be able to benefit from it, so I released it publicly.

Since then, I’ve added new capabilities while trying to keep file size way down (2K). TweenFilterLite extends TweenLite and adds the ability to tween filters including ColorMatrixFilter effects like saturation, contrast, brightness, hue, and even colorization but it only adds about 3k to the file size. Same syntax as TweenLite. There are AS2 and AS3 versions of both of the classes ready for download.

From the Comments:

Jack Doyle (greensock) said, on September 12th, 2007 at 11:02 am

I did run some benchmarks a while back and there wasn’t a single tweening engine that was faster than TweenLite. I tried VERY hard to eek every bit of performance out of the code that I possibly could. When I did the tests, TweenLite was 20-50% faster than many of them. A few others were close, but none surpassed TweenLite’s speed.

TweenLite:
A Lightweight (2k) Yet Powerful Tweening Engine – AS2 | [URL=“http://www.greensock.com/ActionScript/TweenLiteAS3”]AS3

TweenFilterLite:
Lightweight (3k), Easily Tween Filters & Image Effects – AS2 | [URL=“http://www.greensock.com/ActionScript/TweenFilterLiteAS3/”]AS3

[COLOR=“Red”]Update:[/COLOR]
2008 – TweenMax is on its way - READ A FEW Snippets about it HERE!

:kommie: