[Tweener] tweening to multiple objects

Zeh Fernando zeh at zehfernando.com
Fri Jul 11 09:29:16 PDT 2008


> Am I going crazy?  I thought you used to be able to tween to multiple 
> objects as follows:
> Tweener.addTween (mc1,mc2,{_alpha:50,time:.5});
> But this doesn't work anymore.  What do you need to do to tween to 
> multiple objects with one statement?

Yes, what Omine said: use an array.

Tweener.addTween ([mc1, mc2], {_alpha:50,time:.5});

You're not going crazy: this worked in the past, although it was 
undocumented. It was removed later and the array method (which also 
worked, but was also undocumented) became "official".

Zeh


More information about the Tweener mailing list