# MC and Buttons

**URL:** <https://forum.kirupa.com/t/mc-and-buttons/263294>\
**Category:** flash\
**Created:** [June 14, 2008, 3:57am UTC](https://forum.kirupa.com/t/mc-and-buttons/263294 "2008-06-14T03:57:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jrblacquiere](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@jrblacquiere](https://forum.kirupa.com/u/jrblacquiere)\
**Post date:** [June 14, 2008, 3:57am UTC](https://forum.kirupa.com/t/mc-and-buttons/263294/1 "2008-06-14T03:57:19Z")

</div>

How do you put a button into a MC so that the MC can be clicked on to goto the next frame?

---

<div class="post-metadata">

**Author:** ![matthewjumps](https://avatars.discourse-cdn.com/v4/letter/m/49beb7/32.png) [@matthewjumps](https://forum.kirupa.com/u/matthewjumps)\
**Post date:** [June 14, 2008, 11:07am UTC](https://forum.kirupa.com/t/mc-and-buttons/263294/2 "2008-06-14T11:07:19Z")

</div>

just place an mc on the stage, then give it an instance name (eg button\_mc ) in the properties panel.

once thats done, in a keyframe add this AS

```auto

button_mc.onPress = function():Void {
this._parent.nextFrame();
}

```
