# Rollout causing GotoAndPlay inside an MC

**URL:** <https://forum.kirupa.com/t/rollout-causing-gotoandplay-inside-an-mc/153335>\
**Category:** flash\
**Created:** [June 30, 2005, 6:35pm UTC](https://forum.kirupa.com/t/rollout-causing-gotoandplay-inside-an-mc/153335 "2005-06-30T18:35:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![roggo](https://avatars.discourse-cdn.com/v4/letter/r/2acd7d/32.png) [@roggo](https://forum.kirupa.com/u/roggo)\
**Post date:** [June 30, 2005, 6:35pm UTC](https://forum.kirupa.com/t/rollout-causing-gotoandplay-inside-an-mc/153335/1 "2005-06-30T18:35:24Z")

</div>

[font=verdana, arial, helvetica][size=2]Hi there

I have a button, which when rolled over performs an animation, however, i am having trouble getting the rollout function to work:

From root the path to the frames that i want to play is:

Root \> nav\_block (graphic) \> btnHome (Button) \> [on the “Down” keyframe of btnHome"] mcHome\_over (MC)

The timeline for mcHome\_over contains the animation of the button when rolled over, then the stop(); action, and then a separate section starting on frame 10 which contains the animation for the RollOut action.

What i am stuck on, is the bit of actionscript for btnHome which tells flash to GotoAndPlay frame 10 of mcHome\_over.

Any ideas?

Thanks in advance  
Roggo ![](http://forum.echoechoplus.com/images/smilies/biggrin.gif)[/size][/font]

**[size=1][/size]**
