# Button Animation

**URL:** https://forum.kirupa.com/t/button-animation/177580
**Category:** Uncategorized
**Created:** [February 3, 2006, 2:14am UTC](https://forum.kirupa.com/t/button-animation/177580 "2006-02-03T02:14:18Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![bpdp](https://avatars.discourse-cdn.com/v4/letter/b/c0e974/32.png) [@bpdp](https://forum.kirupa.com/u/bpdp)
#### Post date: [February 3, 2006, 2:14am UTC](https://forum.kirupa.com/t/button-animation/177580/1 "2006-02-03T02:14:18Z")

</div>

I created a little news viewer, that when you roll over a button it plays an animation. The problem I am having is:

if the mouse moves over the button (the animation starts)  
– then if the mouse moves off the button

- and then back over the button  
before the animation is over the animation snaps back to the first frame.

Is there a way to tell flash to ignore this “Double rollover” until the animation is finished? I’m sure this is cake to someone out there but I just cannot figure it out. Thanks!
