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.
Over the past few years, I received a lot of positive feedback. 

Since then, I've added new capabilities while trying to keep file size way
down (2-3k). 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. As of last week, there are AS2 and AS3
versions of both of the classes ready for download. All this for the low,
low price of...kidding. They're free for the taking.

TweenLite: http://www.tweenlite.com (has link to AS3 version)
TweenFilterLite: http://www.tweenfilterlite.com (has link to AS3 version) 

See the site for a list of all the features. I even built a sample SWF that
demonstrates a few of the features and writes the associated code for you.

I know what you're thinking - "if it's so 'lightweight', it's probably
missing a lot of features which makes me nervous about using it as my main
tweening engine." It is true that it doesn't have the same feature set as
the other tweening engines, but I can honestly say that after using it on
almost every project I've worked on over the last few years (many
award-winning flash apps for fortune-500 companies), it has never let me
down. I never found myself needing some other functionality. You can tween
any property (including a MovieClip's volume and color), use any easing
function, build in delays, callback functions, pass arguments to that
callback function, and even tween arrays all with one line of code. You very
well may require a feature that TweenLite (or TweenFilterLite) doesn't have,
but I think most developers will use the built-in features to accomplish
whatever they need and appreciate the streamlined nature of the class(es).

Just last week, I stumbled upon the Tweener class from Zeh Fernando, Nate
Chatellier, and others (they did a great job by the way) which is remarkably
similar syntax-wise, so if you're a Tweener user, it should be very easy to
get your brain around using TweenLite.

And for the record, I'm not AT ALL saying that TweenLite is "better" than
any of the other tweening engines out there (no hate mail please). I'm just
sharing my personal experience and making my code available in the hopes
that it'll make some other folk's lives a little easier. Also for the
record, my "day job" (Interactive Flash designer/developer) along with my
wife & two sons keep me plenty busy, so I may not have time to personally
answer every feature request or plea for help. I just set up a Google group
that can facilitate discussions & allow users to help each other though
(there's a link to it on my site). 

Happy tweening.

Jack Doyle


_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to