# Problem with movie clips containing buttons

**URL:** <https://forum.kirupa.com/t/problem-with-movie-clips-containing-buttons/25162>\
**Category:** flash\
**Created:** [July 10, 2003, 12:54am UTC](https://forum.kirupa.com/t/problem-with-movie-clips-containing-buttons/25162 "2003-07-10T00:54:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nauds](https://avatars.discourse-cdn.com/v4/letter/n/fbc32d/32.png) [@nauds](https://forum.kirupa.com/u/nauds)\
**Post date:** [July 10, 2003, 12:54am UTC](https://forum.kirupa.com/t/problem-with-movie-clips-containing-buttons/25162/1 "2003-07-10T00:54:23Z")

</div>

Hi,

Im trying to set up a roll over/roll off menu. Basically it’s a movie clip on the main stage, with buttons inside the movie clip.

However when I set actions to the buttons inside the movie clip to go to a frame or label in the main timeline it doesnt work.

Any ideas?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 10, 2003, 3:51am UTC](https://forum.kirupa.com/t/problem-with-movie-clips-containing-buttons/25162/2 "2003-07-10T03:51:22Z")

</div>

umm this is kind of cheap but you could put the rool over MC on the over part of the button and just keep the button on the main time line i remember i did that when i just got flash well  
prob not the best help, good luck :thumb:.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 10, 2003, 5:00am UTC](https://forum.kirupa.com/t/problem-with-movie-clips-containing-buttons/25162/3 "2003-07-10T05:00:13Z")

</div>

[AS]  
on(press){  
\_root.gotoAndPlay(5);  
}  
[/AS]

\_root refers to the main timeline

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 10, 2003, 5:58am UTC](https://forum.kirupa.com/t/problem-with-movie-clips-containing-buttons/25162/4 "2003-07-10T05:58:48Z")

</div>

oh yea that works too :whistle:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 10, 2003, 4:50pm UTC](https://forum.kirupa.com/t/problem-with-movie-clips-containing-buttons/25162/5 "2003-07-10T16:50:20Z")

</div>

that worked great! thank you

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 10, 2003, 5:04pm UTC](https://forum.kirupa.com/t/problem-with-movie-clips-containing-buttons/25162/6 "2003-07-10T17:04:04Z")

</div>

no problem
