# Button rollovers

**URL:** https://forum.kirupa.com/t/button-rollovers/97795
**Category:** Uncategorized
**Created:** [December 29, 2003, 5:31pm UTC](https://forum.kirupa.com/t/button-rollovers/97795 "2003-12-29T17:31:57Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![kobrakai](https://avatars.discourse-cdn.com/v4/letter/k/8491ac/32.png) [@kobrakai](https://forum.kirupa.com/u/kobrakai)
#### Post date: [December 29, 2003, 5:31pm UTC](https://forum.kirupa.com/t/button-rollovers/97795/1 "2003-12-29T17:31:57Z")

</div>

man do i need help on this one …

ive set up a navbar that it has an animation when the user rolls over or drags over, and also theres a light bar in the bg that follows the mouse, but while testing if i move the mouse too fast over the buttons, the buttons rest at the over state and dont go back to the up state.

the code i used on the button is:

[AS]  
on (rollOver) {  
xm = 0;  
this.start(0, 2);  
about\_clip1.gotoAndPlay(“mouseover”);  
}  
on (rollOut) {  
about\_clip1.gotoAndPlay(“mouseout”);  
}  
on (release) {  
getURL(“[http://www.whatever.com](http://www.whatever.com)”);  
}  
[/AS]  
p.s. file was made in flash mx 2004 pro, but none of the new features were used, and actionscript 1 was used

help would be much appreciated

thanks!
