action script 3, move a movieclip on X or Y axis with a onMotionFinished
So ive been using this code in actionScript 2 and now need to use actionScript 3 So i can use the 3d tool
import mx.transitions.Tween;
import mx.transitions.easing.*;
function squareEnter() {
var myTween:Tween = new Tween(square, "_y", None.easeInOut, square._y, square._y+100, 20, false);
myTween.onMotionFinished = function() {
var squarex:Tween = new Tween(square, "_x", None.easeInOut, square._x, square._x+100, 20, false);
};
}
What is the actionScript 3 way of coding this. Everytime I search for the answer i find answers that have way more information then I want or can understand.
