I am trying to tween a movie clip after a mouse click. It worked fine, but after clicking for a while, the tween function does not appear to start automatically.
Is there anything wrong I am doing here?
public function SelectionClicked(e:MouseEvent):void {
//Calculate tweenTime and new Y value
...
//This is always printed out after the click
trace("Clicked");
//The following don't seem to start automatically and so RunAnotherAnimation never //runs
var yTween:Tween = new Tween(myClip, "y", None.easeNone, myClip.y, newY, tweenTime, true);
yTween.addEventListener(TweenEvent.MOTION_FINISH, RunAnotherAnimation);
}
public function RunAnotherAnimation(e:TweenEvent)void{
//This is sometimes not printed out
trace("Finished");
}