# Button in a Movie Clip

**URL:** <https://forum.kirupa.com/t/button-in-a-movie-clip/20131>\
**Category:** flash\
**Created:** [May 5, 2003, 6:29pm UTC](https://forum.kirupa.com/t/button-in-a-movie-clip/20131 "2003-05-05T18:29:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dexa\_007](https://avatars.discourse-cdn.com/v4/letter/d/f17d59/32.png) [@dexa\_007](https://forum.kirupa.com/u/dexa_007)\
**Post date:** [May 5, 2003, 6:29pm UTC](https://forum.kirupa.com/t/button-in-a-movie-clip/20131/1 "2003-05-05T18:29:45Z")

</div>

I’ve got a button embedded within a movie clip. How do I get the button’s action to refer to the root timeline? (When released, I need the button to move on to Frame #2 of the main timeline.)

I’m still a rookie. Thanks!

D

---

<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:** [May 5, 2003, 6:39pm UTC](https://forum.kirupa.com/t/button-in-a-movie-clip/20131/2 "2003-05-05T18:39:34Z")

</div>

Apply an action similar to this to the button:[AS]on (rollOver){  
\_root.gotoAndPlay (2);  
}[/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:** [May 5, 2003, 8:18pm UTC](https://forum.kirupa.com/t/button-in-a-movie-clip/20131/3 "2003-05-05T20:18:56Z")

</div>

Excellent!

Thanks bro 🙂
