Kod: Zaznacz cały
import mx.transitions.Tween;
import mx.transitions.easing.*;
function twin(x:Object):Void{
var tg1:Tween = new Tween(x, "_xscale", Strong.easeOut, 100, 200, 0.5, true);
var tg2:Tween = new Tween(x, "_yscale", Strong.easeOut, 100, 200, 0.5, true);
tg1.onMotionFinished = function() {
tg1.continueTo(100, 0.5);
}
tg2.onMotionFinished = function() {
tg2.continueTo(100, 0.5);
}
};
Może ktoś ma prostsze rozwiązanie lub inny pomysł.
Z góry dzieki i pozdrawiam