ActionScript Tween Yoyo Stops!
- by TheDarkIn1978
i want my tween to yoyo until the program is closed, but for some reason my tween is only "yoyoed" about 10 times before it just stops. is this normal?
var myTween:Tween = new Tween(boxSprite, "alpha", Regular.easeInOut, 1, 0.25, 1, true);
myTween.addEventListener(TweenEvent.MOTION_FINISH, yoyo, false, 0, true);
function yoyo(evt:TweenEvent):void
{
evt.target.yoyo();
}