# Help with AS3 Button Animation

**URL:** <https://forum.kirupa.com/t/help-with-as3-button-animation/315225>\
**Category:** flash\
**Created:** [October 20, 2010, 2:58pm UTC](https://forum.kirupa.com/t/help-with-as3-button-animation/315225 "2010-10-20T14:58:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kpflash](https://avatars.discourse-cdn.com/v4/letter/k/9de053/32.png) [@kpflash](https://forum.kirupa.com/u/kpflash)\
**Post date:** [October 20, 2010, 2:58pm UTC](https://forum.kirupa.com/t/help-with-as3-button-animation/315225/1 "2010-10-20T14:58:16Z")

</div>

Hi,  
I was wondering if someone could please help me with some actionscript…  
I have a button that has a movie clip in both “down” and “over”. Basically I want an animation to play when I hover over my button and a second animation to play when I click it, then I want to open an HTML page within the same window.  
Everything works fine except when I click the button, the animation doesn’t show up it just goes straight to the HTML page. How do I make it so that the entire “down” animation plays before going to the HTML page?

Thank you!
