Menu problem, need help

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

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

hoping that i made sense. LOL…

thanks

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

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!

:stuck_out_tongue: Sorry :love:

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.

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

*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.

*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:)