# onRollOver MC FLAKY!

**URL:** https://forum.kirupa.com/t/onrollover-mc-flaky/196570
**Category:** Uncategorized
**Created:** [August 9, 2006, 2:57pm UTC](https://forum.kirupa.com/t/onrollover-mc-flaky/196570 "2006-08-09T14:57:16Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![GarretB](https://avatars.discourse-cdn.com/v4/letter/g/35a633/32.png) [@GarretB](https://forum.kirupa.com/u/GarretB)
#### Post date: [August 9, 2006, 2:57pm UTC](https://forum.kirupa.com/t/onrollover-mc-flaky/196570/1 "2006-08-09T14:57:16Z")

</div>

I am using animated MC’s in place of buttons. The problem I am having is if I mouse over the image quickly sometimes the animation will “stick” and I have to roll back over it to get it to “unstick”…Any ideas??

Here is the code:

mike.onRollOver = over;  
mike.onRollOut = out;  
mike.onRelease = down;

function over() {  
this.gotoAndPlay(2);  
}

function out() {  
this.gotoAndPlay(5);  
}

function down() {  
this.\_root.gotoAndPlay(101);  
}
