I’m relying heavily on fl.transition.Tween to do a few things in the site i’m working on.
Very randomly, tweens stop in the middle of a transition.
I traced the y variable in expandRetractContent() which is called on MOTION_CHANGE and it looks good the whole time. Then, the tween just stops. I have to replay the movie a few times to get it to happen. I’d say it does it 1 out of 5 times. Is this a known issue? Or am I doing something wrong?
Here’s the code.
var tween:Tween = new Tween(this.dummyTween, "y", Regular.easeOut, this.cbox_h, this.loadBoxHeight, 1, true);
tween.addEventListener(TweenEvent.MOTION_CHANGE, expandRetractContent);
tween.addEventListener(TweenEvent.MOTION_FINISH, loadSectionHandler);
//MOTION_FINISH is never triggered
//tried to see if MOTION_STOP was being triggered but it's not
//tween.addEventListener(TweenEvent.MOTION_STOP,why);