# The Infinite Menu

**URL:** https://forum.kirupa.com/t/the-infinite-menu/7897
**Category:** flash
**Created:** [November 9, 2002, 11:31pm UTC](https://forum.kirupa.com/t/the-infinite-menu/7897 "2002-11-09T23:31:01Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![Marc](https://avatars.discourse-cdn.com/v4/letter/m/8dc957/32.png) [@Marc](https://forum.kirupa.com/u/Marc)
#### Post date: [November 9, 2002, 11:31pm UTC](https://forum.kirupa.com/t/the-infinite-menu/7897/1 "2002-11-09T23:31:01Z")

</div>

Hi

I’ve completed this tutorial and its working like magic - cheers ilyas. Could I have some help with some changes I am making that I am having a challenge with?

I’ve moved the main menu MC to frame 2. I’ve made a button with one of the menu that makes up the slider and placed this on the first frame. This btn is assigned gotoAndPlay(2). Both of these frames I’ve assigned stop() to. So now there’s no action until a mouse event. So good so far. What I need help with is to have another mouse event take the movie back to frame 1 so the menu stops sliding when the user’s mouse is know longer over the flash object on a page.

---

<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: [November 9, 2002, 11:32pm UTC](https://forum.kirupa.com/t/the-infinite-menu/7897/2 "2002-11-09T23:32:49Z")

</div>

Erm… can you just have an X button in there that doesn’t move, and when it is clicked, it takes youto frame 1?

---

<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: [November 9, 2002, 11:34pm UTC](https://forum.kirupa.com/t/the-infinite-menu/7897/3 "2002-11-09T23:34:50Z")

</div>

This would be covering the slider menu so the links would be obstucted, I think

---

<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: [November 9, 2002, 11:35pm UTC](https://forum.kirupa.com/t/the-infinite-menu/7897/4 "2002-11-09T23:35:57Z")

</div>

Don’t have it over the menu :-\

Or you can have the code on each of your buttons to play what you want them to play and also to go to Frame 1 of that movie.

---

<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: [November 9, 2002, 11:39pm UTC](https://forum.kirupa.com/t/the-infinite-menu/7897/5 "2002-11-09T23:39:06Z")

</div>

The effect I am looking for is that when the mouse leaves the slider the movies goes back to frame 1 and its static again. :-\

---

<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: [November 9, 2002, 11:41pm UTC](https://forum.kirupa.com/t/the-infinite-menu/7897/6 "2002-11-09T23:41:08Z")

</div>

Ok… if your menu is inside a main movie clip then on the main movie clip add this…

```auto
on (rollOut){
gotoAndStop(1);
}

```

You can use button statements on movie clips in MX.

I didn’t do the tutorial yet so I am not sure how it is being done.

---

<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: [November 9, 2002, 11:42pm UTC](https://forum.kirupa.com/t/the-infinite-menu/7897/7 "2002-11-09T23:42:54Z")

</div>

could you look at an example fla. ?

---

<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: [November 9, 2002, 11:43pm UTC](https://forum.kirupa.com/t/the-infinite-menu/7897/8 "2002-11-09T23:43:36Z")

</div>

Sure 🙂

---

<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: [November 9, 2002, 11:47pm UTC](https://forum.kirupa.com/t/the-infinite-menu/7897/9 "2002-11-09T23:47:36Z")

</div>

here it is:) Forgot where I put it at first. I must organise my files

---

<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: [November 10, 2002, 12:04am UTC](https://forum.kirupa.com/t/the-infinite-menu/7897/10 "2002-11-10T00:04:51Z")

</div>

Hmmmm, It doesn’t seem to work.

Even though I have it as a rollOut function, the movie will just stop when the mouse is in the middle of the one button. which makes no sense.

Also, your first button which has a gotoAndPlay action keeps opening a browser window as if it were a getURL action. I tried changing that, but it doesn’t work :-\

---

<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: [November 10, 2002, 12:09am UTC](https://forum.kirupa.com/t/the-infinite-menu/7897/11 "2002-11-10T00:09:26Z")

</div>

that was an example link btn, it has a getURL action assigned.

I’ll try something else of just keep the slider spining at the top of a page after use

Thanks for the help

---

<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: [November 10, 2002, 12:11am UTC](https://forum.kirupa.com/t/the-infinite-menu/7897/12 "2002-11-10T00:11:03Z")

</div>

Ok, I got it to work… BUT

I used the mask as a movie clip to use the button action.

Since the mask is over your menu, you can’t use the menu links.

I will work on this later tonight (unless someone else figures it out before me), but I have to go now.
