# Buttons inside movie clips....HELP!

**URL:** <https://forum.kirupa.com/t/buttons-inside-movie-clips-help/277144>\
**Category:** flash\
**Created:** [December 8, 2008, 3:37pm UTC](https://forum.kirupa.com/t/buttons-inside-movie-clips-help/277144 "2008-12-08T15:37:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![eziduzit](https://avatars.discourse-cdn.com/v4/letter/e/b3f665/32.png) [@eziduzit](https://forum.kirupa.com/u/eziduzit)\
**Post date:** [December 8, 2008, 3:37pm UTC](https://forum.kirupa.com/t/buttons-inside-movie-clips-help/277144/1 "2008-12-08T15:37:12Z")

</div>

I have two movie clips with buttons inside them. I’m trying to get the two buttons to jump to a frame on the main timeline.

I used the following code on the first button:

```auto
this.onEnterFrame = function() {
choose_statement.Through_Btn.onRelease = function() {
_root.gotoAndStop("page03a");
};
};

```

It works fine.

I tried using the same code on the second movie clip and button and it doesn’t work.

```auto
this.onEnterFrame = function() {
Plan_Name.inland_btn.onRelease = function() {
_root.gotoAndStop("page03b");
};
};

```

The second button and movie clip show up 20 frames AFTER the first button and movie clip.  
I double checked all spellings and instance names and nothing!

Any help would be greatly appreciated. FYI the flash file is built in AS2.

Thanks,

Ezi
