hi!
now this may seem a silly supernoob problem, but i've used this command a thousand and two times. now it suddenly stopped working. It's an onMotionFinished function, code below. i've included a fla for you to take a look. never mind about the clumsy graphics, i stumbled into this problem before i even got started with the site. if i don't get it right, i never get further. pleeeeeease help, i'm really puzzled with this one!
code explanation: i have this mc with an instance name boy. after the tween, the walking boy comes to a halt (frame called boystop in boy_mc), and then i basically wish the main timeline move forward. in this example to a frame called "turn". the problem: boy halts ok but main timeline never moves forward.Code:stop(); myTween = new mx.transitions.Tween(boy, "_xscale", easeType, 44, 100, 65); myTween = new mx.transitions.Tween(boy, "_yscale", easeType, 44, 100, 65); myTween = new mx.transitions.Tween(boy, "_x", easeType, 77, 199, 65); myTween = new mx.transitions.Tween(boy, "_y", easeType, 138, 125, 65); myTween.onMotionFinished=function(){ gotoAndStop("turn"); boy.gotoAndStop("boystop"); }




Reply With Quote