# Button working in MC's

**URL:** https://forum.kirupa.com/t/button-working-in-mcs/116927
**Category:** Uncategorized
**Created:** [July 22, 2004, 4:02pm UTC](https://forum.kirupa.com/t/button-working-in-mcs/116927 "2004-07-22T16:02:22Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![FalconDesign](https://avatars.discourse-cdn.com/v4/letter/f/258eb7/32.png) [@FalconDesign](https://forum.kirupa.com/u/FalconDesign)
#### Post date: [July 22, 2004, 4:02pm UTC](https://forum.kirupa.com/t/button-working-in-mcs/116927/1 "2004-07-22T16:02:22Z")

</div>

I’m creating a movie clip that acts as a menu. When you rollover the movieclip it triggers and invisible button that opns a menu.

In that menu i have 4 buttons, which are located inside the movieclip. But i cannot make the buttons work. Do i have to use telltarget, or what to make the buttons work.

I want the buttons to go to different scenes of my main movie.

Thank you so much, And i hope i was clear enough!

D

---

<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 22, 2004, 4:10pm UTC](https://forum.kirupa.com/t/button-working-in-mcs/116927/2 "2004-07-22T16:10:30Z")

</div>

just attach code to the buttons:

on(release) {  
\_root.gotoAndPlay(“scene”);  
}

---

<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 22, 2004, 4:18pm UTC](https://forum.kirupa.com/t/button-working-in-mcs/116927/3 "2004-07-22T16:18:57Z")

</div>

> [@bodyvisual](#):
>
> just attach code to the buttons:
> 
> on(release) {  
> \_root.gotoAndPlay(“scene”);  
> }

Definately tried just that… And it didn’t work. Any other suggestions?

---

<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 22, 2004, 4:46pm UTC](https://forum.kirupa.com/t/button-working-in-mcs/116927/4 "2004-07-22T16:46:41Z")

</div>

If you have mouse events on the buttons inside the clip, and the clip that they are in, you’ll have to use “hitTest.” Run a search here in the forum for it!😉  
Or post the fla so we can take a look.
