PDA

View Full Version : Problem with an unfolder Menu


Aming
02-20-2003, 06:46 PM
hi I will try to explain the problem that is makin me get crazy:

The concept is to make a pull-down menu like this:


Menu
SubMenu1
SubMenu2
SubMenu3


When you rollover on Menu the submenus comes up throu a movieclip and each Submenu comes up also with his own moviclip ( fadein)

I have used one buton for de Menu item, on his normal state i have the graphic, on his over state I have the moviclip that shows the submenus, and on the hit state i have a big box all over all the submenus too cause if not whenyou do a mouseout the movie close down.

Then inside this movie I have 3 little movies for de fadin in of each submenu, and inside each one a button who will show the url that i want

The problem comes up , when the mouse go over the hit area of the submenus items , the main movie closes, so i never can click on the submenus cause this.

I hope anyone can helpme with this.

Thanks for reading.

subquark
02-20-2003, 08:22 PM
tutorial (http://actionscript.org/tutorials/beginner/Drop_down_menu/index.shtml)

Aming
02-24-2003, 03:02 PM
Thanks you for your reply.

After reading this nice tutorial, I havenīt found any solution to my actual problem, so it makes me think I īve explained badly my problem, now I have no time to try to write it again, meanwhile maybe someone can understant the first one.

Thanks a lot.

subquark
02-24-2003, 03:33 PM
well, I think you should use movieclips instead of buttons (you can see how to do this on my site, just click the "subquark actionscript" button in the lower left.

then you should make your menu a movieclip with the movieclips inside like you already say you have.

the main button mc (the closed menu) on release plays the opening submenu animation. so the hit state is only the graphic of the closed menu (not the whole thing). so you open and close the menu with this graphic (onRelease), that way it does not matter if they roll off

then the submenu opens as three buttons that do whatever you want them to

if that is not it, post your fla and i'll take a look at it