# Movie clip button to Main Movie communication

**URL:** <https://forum.kirupa.com/t/movie-clip-button-to-main-movie-communication/57139>\
**Category:** flash\
**Created:** [July 10, 2004, 6:23pm UTC](https://forum.kirupa.com/t/movie-clip-button-to-main-movie-communication/57139 "2004-07-10T18:23:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hellion](https://avatars.discourse-cdn.com/v4/letter/h/6a8cbe/32.png) [@Hellion](https://forum.kirupa.com/u/Hellion)\
**Post date:** [July 10, 2004, 6:23pm UTC](https://forum.kirupa.com/t/movie-clip-button-to-main-movie-communication/57139/1 "2004-07-10T18:23:36Z")

</div>

Hi:  
I have a main movie that contains a movie clip. That movie clip plays a roll over and roll out animation that works as an animated button. The problem is that I cant get the movie clip to tell the main movie to go a particular frame when I add a on release command(inside the main movie that is). I can make it load a movie but it screws the animation flow of the site. Is there a work around?

---

<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, 2004, 9:16pm UTC](https://forum.kirupa.com/t/movie-clip-button-to-main-movie-communication/57139/2 "2004-07-10T21:16:03Z")

</div>

If I get what you mean then you just need to target the main movie, so something like:

on (release) {  
\_root.gotoAndPlay(2);  
}

---

<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 11, 2004, 2:40am UTC](https://forum.kirupa.com/t/movie-clip-button-to-main-movie-communication/57139/3 "2004-07-11T02:40:17Z")

</div>

Hi Insomnic:

Thanks a lot for your help. That’s exactly the way to do it. As a matter of fact, a few hours after I sent the message, I ran across my Flash Bible and figure it out. I still had the curiosity to know if there was another way, but your answer is right in the spot. You guys are the best. You don’t have an idea how much I have learned from this site.

Keep up the good work.

Say hi to Kirupa for me.

> [@Insomniac](#):
>
> If I get what you mean then you just need to target the main movie, so something like:
> 
> on (release) {  
> \_root.gotoAndPlay(2);  
> }
