# How do you target your main timeline?

**URL:** <https://forum.kirupa.com/t/how-do-you-target-your-main-timeline/29879>\
**Category:** Uncategorized\
**Created:** [September 1, 2003, 1:38pm UTC](https://forum.kirupa.com/t/how-do-you-target-your-main-timeline/29879 "2003-09-01T13:38:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![G111](https://avatars.discourse-cdn.com/v4/letter/g/7ea924/32.png) [@G111](https://forum.kirupa.com/u/G111)\
**Post date:** [September 1, 2003, 1:38pm UTC](https://forum.kirupa.com/t/how-do-you-target-your-main-timeline/29879/1 "2003-09-01T13:38:23Z")

</div>

This is the problem - I’ve created a navbar which is in a movieclip, and that movie clip is in another movieclip. I’m using the syntax - on (release) { but I don’t know how to target my main time line.

I want to able to click on the button and then that button plays “home” in the main time line.

Can anyone tell me the syntax as I’m guessing this is really easy to do?

---

<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:** [September 1, 2003, 1:39pm UTC](https://forum.kirupa.com/t/how-do-you-target-your-main-timeline/29879/2 "2003-09-01T13:39:19Z")

</div>

\_root

…

\_root.gotoAndPlay(“home”);

---

<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:** [September 1, 2003, 1:39pm UTC](https://forum.kirupa.com/t/how-do-you-target-your-main-timeline/29879/3 "2003-09-01T13:39:22Z")

</div>

[AS]  
on(release){  
\_root.gotoAndPlay(“home”);  
}  
[/AS]

\*Ah, sen beat me 🙂

---

<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:** [September 1, 2003, 1:40pm UTC](https://forum.kirupa.com/t/how-do-you-target-your-main-timeline/29879/4 "2003-09-01T13:40:53Z")

</div>

Thanks senocular!!! I don’t feel too thick (joke).
