Tuesday, March 25, 2008

TweenLite eats Tweener

The part of the project i was working on was to animate a lot number of MovieClip objects at the same time (including filtering too). I used Tweener to do this but the result wasn't too good! Thanking to Andrea Sotgiu from BlueStepStudio, i changed my mind about using tweening engine.
He told me about TweenLite and after i saw speed tests, i just couldn't believe it! There are two classes - TweenLite and TweenFilterLite. Take a look at both of them! If you used Tweener before, this will be very familiar to you. The only problem i had with this was when i was changing more then one property of the object (eg, blur and x position) it would just stop tweening the first tween i gave it! Again, Andrea gave me a solution! Just add overwrite:0 in your Tweening line of the code. :)

Thanks Andrea! :)

1 comment: