# Button inside MC problem

**URL:** https://forum.kirupa.com/t/button-inside-mc-problem/313750
**Category:** flash
**Created:** [September 8, 2010, 5:55pm UTC](https://forum.kirupa.com/t/button-inside-mc-problem/313750 "2010-09-08T17:55:05Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![m2244](https://avatars.discourse-cdn.com/v4/letter/m/ac91a4/32.png) [@m2244](https://forum.kirupa.com/u/m2244)
#### Post date: [September 8, 2010, 5:55pm UTC](https://forum.kirupa.com/t/button-inside-mc-problem/313750/1 "2010-09-08T17:55:05Z")

</div>

I know similar things have been asked before. I have looked at some of them and still can’t get it to work. I have a button inside a movieclip but it is on a a later frame, frame6. Should I try to reference the button from the main timeline?

```auto

mcTheMan.btnNewGame.addEventListener(MouseEvent.CLICK, handleNewGame);

function handleNewGame(evt:MouseEvent):void
{
 mcTheMan.gotoAndPlay(1);
}

```
