[Tweener] concatinating objects question

Ryan Brewer Ryan.Brewer at MyCart.net
Thu Jul 9 09:56:43 PDT 2009


Hi guys,

I'm trying to do something like this:



var fallAndFade:Object = {scaleX: 0, scaleY: 0, alpha: 0, time: 2};

Tweener.addTween(myMC, {delay: 2, fallAndFade});





It doesn't work, can anyone tell me if I can do this sort of merging  
with the addTween parameters object?

I have a bunch of objects I'll be Tweening back-to-back, and would  
like to have the ability to reuse part of the tween settings


Thanks in advance,
Ryan





More information about the Tweener mailing list