# Roll-Off animation

**URL:** https://forum.kirupa.com/t/roll-off-animation/144509
**Category:** Uncategorized
**Created:** [April 14, 2005, 8:28pm UTC](https://forum.kirupa.com/t/roll-off-animation/144509 "2005-04-14T20:28:28Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![tiger20](https://avatars.discourse-cdn.com/v4/letter/t/82dd89/32.png) [@tiger20](https://forum.kirupa.com/u/tiger20)
#### Post date: [April 14, 2005, 8:28pm UTC](https://forum.kirupa.com/t/roll-off-animation/144509/1 "2005-04-14T20:28:28Z")

</div>

Flash 5 Roll-off?  
I can make a MC button in MX roll-off but what about Flash 5? is the code different than this?

Flash Roll-Over/Roll-off button script:

on (rollOver) {gotoAndPlay(“over”);  
}  
on (rollOut, releaseOutside)  
{  
gotoAndPlay(“out”);  
}
