0
Je veux montrer un trace("test")
à la fin de l'annéeComment savoir quand le yoyo va finir?
Comment savoir quand le yoyo va finir?
J'utilise AS3
import fl.transitions.Tween;
import fl.transitions.easing.*;
import fl.transitions.TweenEvent;
var myTween = new Tween(my_mc, "x", Strong.easeInOut, 100,300, 1, true);
myTween.addEventListener(TweenEvent.MOTION_FINISH, onFinish);
function onFinish(e:TweenEvent):void {
myTween.yoyo();
}