# onRollOut not alway working?

**URL:** <https://forum.kirupa.com/t/onrollout-not-alway-working/286614>\
**Category:** flash\
**Created:** [April 17, 2009, 6:28pm UTC](https://forum.kirupa.com/t/onrollout-not-alway-working/286614 "2009-04-17T18:28:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![artriste](https://avatars.discourse-cdn.com/v4/letter/a/f475e1/32.png) [@artriste](https://forum.kirupa.com/u/artriste)\
**Post date:** [April 17, 2009, 6:28pm UTC](https://forum.kirupa.com/t/onrollout-not-alway-working/286614/1 "2009-04-17T18:28:03Z")

</div>

I will keep the question simple for now and provide example if needed.

I just have a simple button set up to move a [COLOR=DarkOrange]BOX[/COLOR] on rollOver using tweens and move it back into position onRollOut.

\*\*Problem: \*\*  
The onRollOut function doesn’t work consistantly. It works ok most of the time, but if I move the mouse quickly (not like crazy quick), the [COLOR=DarkOrange]BOX[/COLOR] doesn’t get back into place.

Is there a way to “secure” an onRollOut statement to make sure it works at all time?

I try also adding onReleaseOutside, onDragOut… but that is not the problem.

Thanks
