# rollOver problems

**URL:** <https://forum.kirupa.com/t/rollover-problems/224947>\
**Category:** flash\
**Created:** [May 7, 2007, 2:11pm UTC](https://forum.kirupa.com/t/rollover-problems/224947 "2007-05-07T14:11:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xenos](https://avatars.discourse-cdn.com/v4/letter/x/ea5d25/32.png) [@xenos](https://forum.kirupa.com/u/xenos)\
**Post date:** [May 7, 2007, 2:11pm UTC](https://forum.kirupa.com/t/rollover-problems/224947/1 "2007-05-07T14:11:41Z")

</div>

I’ve came across this problem several times and it drives me crazy. I’ve got an animated button that I use a movie clip for. The code is something like this:

on (rollOver) {  
\_root.button\_animation.gotoAndPlay(2);  
}  
on (rollOut) {  
\_root.button\_animation.gotoAndPlay(10);  
}

The problem is that if a user rolls over and out really fast, flash somethimes won’t register the rollOut.

I even created an invisible button that’s like a border around the movie that tells everything to go back to its original state but sometimes this doesn’t register either.

Is this a known bug with Flash? Anyone know a way around it?
