Thursday, December 15th, 2005
Finally! I just put up an updated version of the Fluid Tween Playground that plays nicely with AS 2. While we have been using the core tween code internally for several years, the playground was never upgraded. I had no idea people were still using the playground, but after upgrading our website we started getting a significant number of bounces for the tween library.
For those of you new to this library, Fluid has created a simple class ( fluid.util.Tweener.as ) that provides a straightforward method for designers and developers alike to use time-based animation in Flash. While there are a number of similar libraries out there, many of them involve more complex syntax, or add significant weight in file size. The Tweener class will add less than 2kb to your SWF size.
<snip> import fluid.util.Tweener; import com.robertpenner.easing.Quad; // alpha down to 50% in 300 milliseconds Tweener.timeTween( myMC, "_alpha", 50, 300, Quad.easeIn ); </snip>
Check it out here – http://www.fluid.com/experiments/tweenplayground .
Let us know what you think, and we would be happy to see what you create with it.