# Menu problem, need help

**URL:** https://forum.kirupa.com/t/menu-problem-need-help/28839
**Category:** flash
**Created:** [August 19, 2003, 5:58am UTC](https://forum.kirupa.com/t/menu-problem-need-help/28839 "2003-08-19T05:58:13Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![mrloo](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/mrloo/32/305_2.png) [@mrloo](https://forum.kirupa.com/u/mrloo)
#### Post date: [August 19, 2003, 5:58am UTC](https://forum.kirupa.com/t/menu-problem-need-help/28839/1 "2003-08-19T05:58:13Z")

</div>

hey guys,

i’m a newbie in flash mx, i made a menu composed of some buttons (like menu, members, gallery, etc…). each button have a separate movie when you click it. below is the AS i have used:

on (release) {  
\_root.gallery\_contents.loadmovie  
(“gallery-menu.swf”)  
}

this AS works fine and as a newbie it was really fantastic to know something like that. Now, this is the problem, when i click another button such as members, the movie of members loads but still the movie of gallery still there. what AS i can still add on the above mentioned AS so that my menu will work fine?

I will attach the files that I have created so you can check it out and you can probably help me.

thanks a lot

mrloo

---

<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: [August 19, 2003, 6:03am UTC](https://forum.kirupa.com/t/menu-problem-need-help/28839/2 "2003-08-19T06:03:06Z")

</div>

how can the gallery movie loads out when I click another members button to load another movie.

hoping that i made sense. LOL…

thanks

---

<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: [August 19, 2003, 1:04pm UTC](https://forum.kirupa.com/t/menu-problem-need-help/28839/3 "2003-08-19T13:04:59Z")

</div>

You could load everything in the same movie clip. That way, the new content will erase the old one 🙂

---

<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: [August 19, 2003, 1:08pm UTC](https://forum.kirupa.com/t/menu-problem-need-help/28839/4 "2003-08-19T13:08:27Z")

</div>

Hi,  
It looks like you’ve got a “contents” Mc for each of the sections  
i.e.:

> \_root.gallery\_contents.loadmovie  
> .

You want to use just one for all the sections so when you load a mc onto it replaces any other one loaded previously.

SHO  
Quick Ilyas Masa!

---

<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: [August 19, 2003, 1:24pm UTC](https://forum.kirupa.com/t/menu-problem-need-help/28839/5 "2003-08-19T13:24:07Z")

</div>

😛 Sorry :love:

---

<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: [August 19, 2003, 1:28pm UTC](https://forum.kirupa.com/t/menu-problem-need-help/28839/6 "2003-08-19T13:28:54Z")

</div>

Ilyas, you said "You could load everything in the same movie clip. That way, the new content will erase the old one"  
that i know how to do that, but i would to do is for each button, i will have a separate instance so when it loads the mc, it will load beneath the buttons.

---

<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: [August 19, 2003, 1:38pm UTC](https://forum.kirupa.com/t/menu-problem-need-help/28839/7 "2003-08-19T13:38:10Z")

</div>

thanx eki, but i still can’t get it.

---

<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: [August 19, 2003, 2:23pm UTC](https://forum.kirupa.com/t/menu-problem-need-help/28839/8 "2003-08-19T14:23:34Z")

</div>

> \*Originally posted by mrloo \*  
> \*\*… but i would to do is for each button, i will have a separate instance so when it loads the mc, it will load beneath the buttons. \*\*

Does that mean you want the loaded sections always loaded under the buttons? If so, Put all the buttons in a MC and attach the MC from the library in a higher level number, then load the sections in a lower level number.

Regards,  
Viru.

---

<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: [August 24, 2003, 11:24am UTC](https://forum.kirupa.com/t/menu-problem-need-help/28839/9 "2003-08-24T11:24:06Z")

</div>

> \*Originally posted by kO2n \*  
> \*\*Does that mean you want the loaded sections always loaded under the buttons? If so, Put all the buttons in a MC and attach the MC from the library in a higher level number, then load the sections in a lower level number.

Regards,  
Viru. \*\*

yes i’d like to load it under the button(ex. under members, the external swf will load undr the member menu.) I have attached part of the files which i have used. and i am new in flash, can you do it for me so I’ll know what to do.

sorry for the troubles, you know i’m just starting with Flash.

thanks:)
