How are These Drop Down Menus Done?

First let me say hello to everyone!

I have been trying to do drop down menus similar to that on the site www.johnmayer.com and I cannot get the **** thing to work. I was just wondering what you flash gurus believe is happening behind the scenes. If someone has something similar and doesnt mind posting an .fla for it so I can see how this is done, that would be great! If not, i will post my .fla when i get home from work so you guys can see what an amatuer i am. Thanks.

Look for the thread called “XML Menu . . . Done” (or similar title) by hga77. You can find it in the Best of Kirupa forum.

:hr:

Thanks Lunatic. Do you think it can only be done with AS?

Sure, anything can be done with AS :slight_smile:

However something like XML makes life much simpler for editing purposes plus file sizes etc. Write the as code once, then change the xml as needed (or asp or php or whatever you are into. I found the XML to be the easiest to grasp).

Lots of drop down menus out there. Do a search here on the forums as well as on kirupa.com. Senocular has another really nice xml menu tutorial there that walks you through step by step and explains everything.

:hr:

So you think the drop down menus are done using XML?

Hard to say on that site in particular. Lot of good web developers out there using all sorts of stuff. I’m just saying I’ve seen quite a few good dropdown menus from folks on this site (and kirupa.com) that use the xml version.

:hr:

any other suggestions on how this menu is done?

Ermmm… just simple motion tweens… make your motion in a MC on mouseover play that tween on exit play exiting frames.

Tried that but when the “onrollover” goes to the part of the MC where the menu expands, When you go to select the submenu items(which are buttons), the expanded menu disappears and also the button “Over” state is not performed.

anyone please…Been trying for the past 4 hours and I keep goin in circles. I would post my .fla but belive me when i say that it is wrong. I tried using the drop down menu tutorial but to no avail when trying to reproduce the exact effects of those drop down menus on the site mentioned above. I dont intend to use the exact same drop downs but its bothering me why i cant get it to work. its just one of those things that play on your mind(a challenge). Please shed some light.

http://www.cbtcafe.com/flash/flyoutmenu/flyoutmenus.html

This tutorial is one I used, that is easily tweaked I think. There maybe a simpler way, but this works.

Got it working!!! Thanks to all and especially Dan who sent me to that tutorial. The difference why that tut worked was because of the “cut-out” in the invisible button Dan. Thanks alot guys!

Is there a way to place a sound toggle button (sound on/sound off) on a drop-down menu?