# Question about buttons

**URL:** <https://forum.kirupa.com/t/question-about-buttons/33962>\
**Category:** Uncategorized\
**Created:** [October 26, 2003, 3:39am UTC](https://forum.kirupa.com/t/question-about-buttons/33962 "2003-10-26T03:39:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![HeeT](https://avatars.discourse-cdn.com/v4/letter/h/e9a140/32.png) [@HeeT](https://forum.kirupa.com/u/HeeT)\
**Post date:** [October 26, 2003, 3:39am UTC](https://forum.kirupa.com/t/question-about-buttons/33962/1 "2003-10-26T03:39:55Z")

</div>

ok, I’ll try to get my point across as clear as possible:

My navigation system involves movie clips within movie clips, like

|scene1| |navigation| |hormenu| |menu|

thats what is says across the top of my scene; under |menu| is where all my buttons are, how would i make one of those buttons gotoandplay (frame whatever) in |scene1|

i can make the buttons do whatever i want to do when it invloves them doing it under menu, but say if i label a frame “projectorscreen” in scene1 and make the button gotoandplay frame name “projectorscreen” it wont work,  
understand?

any help would be appreciated  
: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:** [October 26, 2003, 3:50am UTC](https://forum.kirupa.com/t/question-about-buttons/33962/2 "2003-10-26T03:50:41Z")

</div>

Welcome, HeeT. 😛

Use [[font=courier new]\_root[/font] to refer the first timeline in the hierarchy, or use [url=http://www.macromedia.com/support/flash/action\_scripts/actionscript\_dictionary/actionscript\_dictionary619.html][font=courier new]\_parent[/font]](http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary633.html) to go back one timeline in the hierarchy (you’ll need to put [font=courier new]\_parent[/font] as many times as needed). 🙂

```auto
on (press) {
_root.gotoAndPlay("frame_label");
}
//
on (press) {
_parent._parent.gotoAndPlay("frame_label");
}

```

---

<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:** [October 26, 2003, 4:43am UTC](https://forum.kirupa.com/t/question-about-buttons/33962/3 "2003-10-26T04:43:19Z")

</div>

thanks a million times, works just as you said  
**booyaa!** :cool:

---

<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:** [October 26, 2003, 4:58am UTC](https://forum.kirupa.com/t/question-about-buttons/33962/4 "2003-10-26T04:58:00Z")

</div>

No problem, HeeT. Glad I could help. =)
