ActionScript 3 MouseEvent run once <p>What I want to do is to run once my over listener function. The problem is that once I do a mouse over into my movie clip "button", it enters a new loop again and again. How can I make it run <strong>only</strong> once, when the tween event is completed ?</p> <pre><code>import fl.transitions.Tween; import fl.transitions.easing.*; import fl.transitions.TweenEvent; function Over (e:MouseEvent):void { trace('Over'); var myTweenUp:Tween = new Tween(button, "y", Back.easeOut, 200, 180, 2, true); } function Out (e:MouseEvent):void { trace('Out'); var myTweenDown:Tween = new Tween(button, "y", Back.easeOut, 180, 200, 2, true); } button.addEventListener(MouseEvent.MOUSE_OVER, Over); button.addEventListener(MouseEvent.MOUSE_OUT, Out); </code></pre>