This is straight out of the help files on Tweening in flash 8 it works alright but why won’t it call a second on change when I put another tween call in the function.
What I’m looking to do is when one tween has finished call the next.
import mx.transitions.Tween;
var myTween:Tween = new Tween(img1_mc, “_x”, mx.transitions.easing.Elastic.easeOut,0, Stage.width-img1_mc._width, 3, true);
myTween.onMotionChanged = function() { var myTween2:Tween = new Tween(img1_mc2, “_x”, mx.transitions.easing.Elastic.easeOut,0, Stage.width-img1_mc._width, 3, true);};
//this don’t call below
myTween2.onMotionChanged = function() { var myTween3:Tween = new Tween(img1_mc3, “_x”, mx.transitions.easing.Elastic.easeOut,0, Stage.width-img1_mc._width, 3, true);};
Jaffasoft