# Buttons within an MC

**URL:** <https://forum.kirupa.com/t/buttons-within-an-mc/188262>\
**Category:** flash\
**Created:** [May 5, 2006, 7:49pm UTC](https://forum.kirupa.com/t/buttons-within-an-mc/188262 "2006-05-05T19:49:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ollie1](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ollie1/32/2180_2.png) [@ollie1](https://forum.kirupa.com/u/ollie1)\
**Post date:** [May 5, 2006, 7:49pm UTC](https://forum.kirupa.com/t/buttons-within-an-mc/188262/1 "2006-05-05T19:49:26Z")

</div>

I have several buttons all within a MC, on hover over they all display the correct on hover action, but when it comes to clicking on them they will not link to the corresponding frame.

I am using:

```auto
on (release) {
gotoAndPlay('XXXX');

}

```

I think that this is happening because they are looking for the frame within the MC and not in the main timeline, if this is the case then how would i go about getting them to link to the correct frame within the timeline?
