Is there a better way to write this so there is only one tween instead of two?
Actionscript Code:xTween = new Tween(imageMC, "_xscale", Strong.easeInOut, 100, 1, 3, true);
yTween = new Tween(imageMC, "_yscale", Strong.easeInOut, 100, 1, 3, true);
Printable View
Is there a better way to write this so there is only one tween instead of two?
Actionscript Code:xTween = new Tween(imageMC, "_xscale", Strong.easeInOut, 100, 1, 3, true);
yTween = new Tween(imageMC, "_yscale", Strong.easeInOut, 100, 1, 3, true);
As far as I know, that's how the built-in tweens work, with only one property per tween. There are third party tween libraries (TweenLite is one I've used recently) that allow you to tween multiple properties with just one line of code.
WOW, that seems like a pretty cool plug in. Thanks for the heads up.