# Main menu button

**URL:** <https://forum.kirupa.com/t/main-menu-button/186373>\
**Category:** flash\
**Created:** [April 20, 2006, 8:58pm UTC](https://forum.kirupa.com/t/main-menu-button/186373 "2006-04-20T20:58:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![littlegemz84](https://avatars.discourse-cdn.com/v4/letter/l/ecccb3/32.png) [@littlegemz84](https://forum.kirupa.com/u/littlegemz84)\
**Post date:** [April 20, 2006, 8:58pm UTC](https://forum.kirupa.com/t/main-menu-button/186373/1 "2006-04-20T20:58:13Z")

</div>

I have a main menu button

Now I have been told that if i use code \_root.play() this will always go back to the begining (scene 1) and play it no matter where i use it in my game.

This cant be true as i have coded this and my game goes to Scene 3 :crying:

I have a main menu situated in a movie clip inside a movieclip ( e.g Scene 2 - Movieclip1 - movieclip2) Now when i use the target on the main menu button and click on \_root it displays the code as this.\_parent.\_parent so i tried this - - - this.\_parent.\_parent.play() (added play to play it obviously). This also goes to scene 3 :crying:

Can anybody help me please ??

---

<div class="post-metadata">

**Author:** ![ven](https://avatars.discourse-cdn.com/v4/letter/v/f9ae1b/32.png) [@ven](https://forum.kirupa.com/u/ven)\
**Post date:** [April 20, 2006, 11:46pm UTC](https://forum.kirupa.com/t/main-menu-button/186373/2 "2006-04-20T23:46:09Z")

</div>

have you looked at prevScene() ?

---

<div class="post-metadata">

**Author:** ![littlegemz84](https://avatars.discourse-cdn.com/v4/letter/l/ecccb3/32.png) [@littlegemz84](https://forum.kirupa.com/u/littlegemz84)\
**Post date:** [April 21, 2006, 2:37pm UTC](https://forum.kirupa.com/t/main-menu-button/186373/3 "2006-04-21T14:37:17Z")

</div>

Yeah. That doesnt work, the button is too embedded inside movieclip+movieclip. I need to use a parent (or so i thought) but no code is working
