Search  

TWO LEVEL HORIZONTAL XML MENU

HomeBrowse CategoriesFlashMenus & ButtonsHorizontal MenusTwo level Horizontal XML menu

TWO LEVEL HORIZONTAL XML MENU

A slick two level XML menu with a nice sliding/fading effect.

FEATURES INCLUDE :

  • XML driven
  • Easy to use configuration section in code
  • Very easy to customize
  • Clean code, help file and lots of comments.
  • buttons that scale to text widths
  • Intelligent rollout
  • Main preloader

UPDATE : To align the subMenus to their main buttons add the following around line 110:
currSub._x =activeMain._x

Like this file? You might also like these related files:

VIEW MY FULL PORTFOLIO | GET NOTIFIED OF NEW FILES


Posted about 1 year ago

Sorry to be a pain in the royal arse, Chucka, but i need some help with getting the submenu to center over the active main. I altered the code so that the submenu shows up over the main, instead of under it: Mainmenu Mainmenu Mainmenu

Submenu   Submenu   Submenu

I need it to be centered over the main, not the stage, just to be clear about that.

Posted 5 months ago

eh… what the… the post doesn’t show up as i wrote it…

Posted 5 months ago

sorry for all the posts, but i asked for help a couple of days ago, and no answer from you… kinda stressed now, since i am only a couple of hours away from deadline…

Posted 5 months ago

Hi Alxpalm,

sorry but you can see in the preview the menu does not center..

that said try adding this to line 160:

currSub._x =activeMain._x-(currSub._width/2)

The mask will probably not cut off some of the menu so use this to postiion it:

mask._x = 4

comment out line 60 to see where the mask is drawn:

//subMenus.setMask(mask);

chuck

Posted 5 months ago

hi just want to know does this menu handle the active position with javascript falshvars? just want to be sure that after clicked it stays on

best jean

Posted 5 months ago

The mask is not a problem, except that the submenu sometimes dissapears when hovering the main… and the code didn’t change anything, the menu still only ends up to the left.

Posted 5 months ago

Is there a way to add a click sound to the buttons

Posted 5 months ago

Chuck, how do I make the Main Btns and Sub Btns link to a certain frame on a serperate movie clip in the same swf….possible?

By the way…..Nice Work!

Posted 5 months ago

Ok. I realised now that this menu does not work in Wordpress. I spent hours to fix this problem but it always turned out – if I put it into the wordpress site it doesnt work anymore. The Slide and so on works perfect, but external Link to another php Site doesnt work. This Problem only appears on Mac Leopard – newest Version. Strange Problem, but I had to build a Menu by myself. Thanks anyway for this File…

M

Posted 5 months ago

Hi rec2mail,

sorry it does not, i have a menu like that that i am going to upload soon.

thanks, Chuck

Posted 4 months ago

”...that i am going to upload soon.” great have been stuggling with getting that to work correctly. Driving me crazy in fact.

Posted 4 months ago

quick question.

Is it possible to make these buttons go to certain frames within the flash page? or does this only open up external links?

Posted 4 months ago

How do I change the background color of the main button bar and the sub button bar. I would also like to have some buttons open at _self and some buttons open at _blank. How do I do that?

Posted 4 months ago

Having the same trouble as a few of the other posters. If you move back and ford quickly from button to button, and try and goto a sub button the menu will dissapear until you move back up to a main button. The roll out effect happens even though your mouse is on a sub menu item—weird. I’m going to do a little snooping and see if I can’t find anything, but any comments from the publisher would be nice.

Thanks, and great component by the way.

Posted 4 months ago

So far a quick fix seems to be to slow down the slideInSpeed & slideOutSpeed. I seem to be having success with using 2.0 for both, but seems a little slow. Will post more if I find anything else.

Posted 4 months ago

Ahhhhh “Easy to use configuration section in code…Very easy to customize”? Wouldn’t it of been much easier to setup the URL ability in the XML ?????? Most people would require this in the XML regions and after finding out it’s not there I head back to this page and read about 6 pages of people asking how to edit it…surely it would of been a good idea to do an update with this feature added to prevent future posts about it?

Sorry for the rant, but your description should be clearly noted what the XML editing options contains.

“XML Driven” usually means the most common XML edits are contained within the XML . Spending time hacking through hundreds of lines of Action Script to allow URLs from a navigation menu??? Sorry, but that’s just stupid. I recommend that you do an update and change the XML so it fits your description.

Posted 4 months ago

Ignore my last comment…bad day lol

Posted 4 months ago

Just to be clear, URL are set in the xml. This is an easy menu to modify.

i wish we could delete comments :-(

Posted 4 months ago

Just to give a bit of advice. URL are set in XML correct, but allowing URL to be loaded in XML requires you to modify the AS. When I buy an ‘XML Driven’ flash app, mostly a navigation menu (probably more than 90% of people buying it need it to open URLs with it) there should be some kind of XML code to allow URL to be opened without editing the AS to do so. Perhaps in future developments have an XML setting that other FD users have – URL ‘true/false’ so people don’t have to dig around the AS to edit the ‘basics’ which should be covered in the XML , or at the very least at the top of the AS and not deep within 100 lines of AS.

Easy to modify code means to me easy to modify advanced options, not to modify the basics in the AS, which should be added to the XML for ease of use.

Call me fussy, but speaking from an end user and if I want to include this in a client website, the XML should be the only form of editing. I’ve spent hundreds of dollars on FD and I know a lot of FD developers focus their basic settings in XML editing alone. I think in future consider the above which should reduce 5-6 pages of questions asking how to add URLs to a URL flash file.

Nice file though, but from a client point of view this file needs updating, mostly considering it’s a nav menu that’s basic structure should be aimed towards URLs.

Posted 4 months ago

Just out of curiosity though…how come the file is not left aligned or central? It seems to be in a random position. Again, this should really be noted for editing purposes. Perhaps allowing the position to be changed in XML too. Or all AS edit regions at the top of the code.

After reading a few pages back, I see other people have questioned this too.

I like your file, but I think if you sat down and planned this one out a bit more, it could be so much better and easier to modify.

Hopefully my feedback has helped.

Posted 4 months ago

amiga,

thanks, i will update the file to make it easier. The reason why i did it the way I did was because not everyone will want to open urls, in fact i would guess the large majority would want to add their own loading code. If you read the help file you can see there are some very simple instructions provided to get the menu doing what ever you want. Personally i feel that xml editing of this part of the menu would actually be limiting, but I will offer some xml presets as well as being able to edit the AS code.

Also not sure why you keep saying there are 5-6 pages of url questions, its only been asked a few times and 300 people have brought the file.

This was one of my first files on the den, if you look at my more recent work you will see they have huge configuration sections.

check the file description to find out how to align the subMenus to their main buttons.

thanks for the feedback, chuck

Posted 4 months ago

I have a topframe and a main frame. On testing, I can get the button to target the main frame in firefox but nothing happens in Internet Explorer. Is there something I am doing wrong?

Posted 4 months ago

Hi, please, give us how to set a link for a external url. Regards.

Posted 3 months ago

All right, I see in post above, just change the line 134 of second frame from this: activeLink = this; to this: getURL(this.link, “_blank”;); and now the external url’s links are working fine. Thanks.

Posted 3 months ago

got a problem..

How do i have a movie load to start off with… As my page has a blank screen till a menu item is selected..

Posted 3 months ago

Hi, i went over the posts but couldnt find someone asking this question, so i hope its not a stupet one. how do i make the link open at the same window and NOT in a new window. i tried using getURL(this.link, “_self”;), but it didnt responed. however when i used getURL(this.link, “_blank”;), everything worked just fine. so what am i doing wrong?

Posted 2 months ago

Hello

I have the same problem. I need to target the link on the page to open in a frame. When I put this.link, “_self” or this.link, “ifrm” (the frame where the new page should open) it doesn’t work. I need this to work since I am doing a web page for a client and the time is running out.

Ty.

Posted 2 months ago

Hi i have a little problem with some MAC . The menu font change in TIMES !! Can you help me to fix this ?

Posted 19 days ago

atropper & zajinjo,

to open in the same window this should work:

getURL(this.link,"_self")

See here

http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary377.html

chuck

Posted 18 days ago

Steph44,

open up mainBtn and subBtn and change the text fields to whatever font you want to use.

chuck

Posted 18 days ago