I am trying to animate both the X and the Y axis using the tween class in Flash 8. I want both axis to move independently, not both at the same time (moving in a diagonal).
I have the script in a button embedded in a movie clip on my main timeline.
on (release){
new mx.transitions.Tween
(_root.menu1, “_y”, mx.transitions.easing.Elastic.easeOut, _root.menu1._y, 10, 30, false);
new mx.transitions.Tween
(_root.menu1, “_x”, mx.transitions.easing.Elastic.easeOut, _root.menu1._x, 210, 30, false);
I tried onMotionFinish, but didn’t get the result I was looking for. From scanning the web it doesn’t seem possible. Any suggestions would be greatly appreciated.
EDIT (clarification):
I want the menu1 MC to tween on the x axis in a straight line, while the tween on the y axis is being executed. menu1 MC needs to travel smoothly along the x axis.