# rollOut animation for buttons

**URL:** https://forum.kirupa.com/t/rollout-animation-for-buttons/80924
**Category:** flash
**Created:** [February 25, 2005, 10:10pm UTC](https://forum.kirupa.com/t/rollout-animation-for-buttons/80924 "2005-02-25T22:10:55Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![foodpk](https://avatars.discourse-cdn.com/v4/letter/f/0ea827/32.png) [@foodpk](https://forum.kirupa.com/u/foodpk)
#### Post date: [February 25, 2005, 10:10pm UTC](https://forum.kirupa.com/t/rollout-animation-for-buttons/80924/1 "2005-02-25T22:10:55Z")

</div>

It seems like such a simple thing to do, and I know my way around actionscript, but for the love of bob I can’t make buttons have animations when the mouse leaves their areas as well as when it goes on them.  
I tried just using the up frame without the over one and putting a movieclip in the ‘up’ frame of the button and then doing something like on (rollOver) {this.the\_movieclip.gotoAndPlay(6) } but I can’t get to influence things inside a button.  
So, I know how to make a button do an animation when you roll over with the mouse but I need to know how to play one when you roll out.  
All help is greatly appreciated.
