Hey,
I’m using the inbuilt tweens in flash…
var bodyScaleX:Tween = new Tween(bodyBack, "_xscale", Strong.easeOut, 0, 100, 0.5, true);
//BRINGS THE BLACK BOX DOWN THE Y AXIS
bodyScaleX.onMotionFinished = function () {
var bodyScaleY:Tween = new Tween(bodyBack, "_yscale", Strong.easeOut, bodyBack._yscale, 100, 1, true);
}
bodyScaleY.onMotionFinished = function () {
trace ("it worked");
}
But for some reason the second
bodyScaleY.onMotionFinished = function () {
trace ("it worked");
}
Doesn’t work, it can’t pick up - var bodyScaleY:Tween - inside the funtion above?