# Why it does not work

**URL:** https://forum.kirupa.com/t/why-it-does-not-work/21501
**Category:** Uncategorized
**Created:** [May 22, 2003, 7:32am UTC](https://forum.kirupa.com/t/why-it-does-not-work/21501 "2003-05-22T07:32:47Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![open0102](https://avatars.discourse-cdn.com/v4/letter/o/258eb7/32.png) [@open0102](https://forum.kirupa.com/u/open0102)
#### Post date: [May 22, 2003, 7:32am UTC](https://forum.kirupa.com/t/why-it-does-not-work/21501/1 "2003-05-22T07:32:47Z")

</div>

I learnt the tutorial from [http://www.kirupa.com/developer/mx/infinite.htm](http://www.kirupa.com/developer/mx/infinite.htm)  
(The Infinite Menu)

but I couldn’t make the buttons work  
could somebody please take look, see what I have done wrong  
thank you very much

---

<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: [May 22, 2003, 8:40am UTC](https://forum.kirupa.com/t/why-it-does-not-work/21501/2 "2003-05-22T08:40:55Z")

</div>

use the frame label only.

ie.

```auto
on (release) {
	_root.gotoAndPlay("Gallery");
}

```

---

<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: [May 22, 2003, 8:46am UTC](https://forum.kirupa.com/t/why-it-does-not-work/21501/3 "2003-05-22T08:46:47Z")

</div>

MenuOn was a button, this needs to be a movie clip really as you dont want to click on this as a button you want to click on the buttons themselves. I also changed the code on the individual buttons to \_root.gotoAndPlay(“Home”); etc to reference the \_root timeline.

---

<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: [May 22, 2003, 8:52am UTC](https://forum.kirupa.com/t/why-it-does-not-work/21501/4 "2003-05-22T08:52:23Z")

</div>

Everyone else has probably done the same, however, your buttons were nested twice on a movieClip, in a movieClip. ‘\_root’ clears it all up, no matter which way you go. Here’s my bid:

---

<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: [May 22, 2003, 8:52am UTC](https://forum.kirupa.com/t/why-it-does-not-work/21501/5 "2003-05-22T08:52:25Z")

</div>

thank you very much Kax and Stephen

---

<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: [May 22, 2003, 8:53am UTC](https://forum.kirupa.com/t/why-it-does-not-work/21501/6 "2003-05-22T08:53:38Z")

</div>

thanks Freddythunder 🙂
