Hi there, I’m abit rusty in flash, so any help is much apreciated.
import mx.transitions.Tween;
import mx.transitions.easing.*;
var mytween:Tween = new Tween(ball_mc,"_x",Strong.easeInOut,-320.10,47.90,5,true);
mytween.onMotionFinished = function() {
var mytween2:Tween = new Tween(ball_mc,"_x",Strong.easeInOut,47.90,-320.10,5,true);
}
mytween2.onMotionFinished = function() {
gotoAndPlay(2);
}
Can anyone tell me why this doesnt work?
It does the first and second tween but doesnt do the gotoAndPlay function?