# gotoAndPlay rollovers getting stuck! Pls. Help

**URL:** https://forum.kirupa.com/t/gotoandplay-rollovers-getting-stuck-pls-help/125597
**Category:** Uncategorized
**Created:** [October 15, 2004, 8:18am UTC](https://forum.kirupa.com/t/gotoandplay-rollovers-getting-stuck-pls-help/125597 "2004-10-15T08:18:17Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![coolhand](https://avatars.discourse-cdn.com/v4/letter/c/9dc877/32.png) [@coolhand](https://forum.kirupa.com/u/coolhand)
#### Post date: [October 15, 2004, 8:18am UTC](https://forum.kirupa.com/t/gotoandplay-rollovers-getting-stuck-pls-help/125597/1 "2004-10-15T08:18:17Z")

</div>

Hey guys, I’m technically new to this forum (well, I’ve been a lurker for a while) since I’ve been trying to read up on actionscripting. I have a problem in Flash MX. I am making a menu in which each button has an animated ‘roll in’ and ‘roll out’ effect (simple as a box growing ‘in’, and then fading back ‘out’) the code I use is as follows attached to the menu button:

on(rollOver){  
about.gotoAndPlay (“start”);  
}

on(rollOut){  
about.gotoAndPlay (“end”);  
}

* * *

the ‘roll in’ and ‘roll out’ animations work perfectly. However, my problem is that the animations get stuck whenever I roll in and out before the (‘roll in’) animation is done playing. It simply gets stuck in the middle position (box full scaled) and then when I try to rollover it, it simply becomes two states which is (box = small) and (box = big ) for rollout suck on the screen. Can someone please help me with what I’m doing wrong?
