clean! 
I use this horizontal navigation menu in almost all of my projects. Everything is created dynamically from an external ActionScript file and everything can be easily customized by editing only a few variables. The nav will grow horizontally no matter how many items are added to it. The divider is created purely with ActionScript as well and can be easily edited. In addition it includes a cool blur effect on rollover.
Here is a list of everything that can be edited dynamically:
Enjoy!
-modular
Other files from Modular:
Posted about 1 month ago
Love this!!, going to buy later, but i would be nice if you make a version that uses XML to all setting etc…
Posted about 1 month ago
How do I make the menu options link? I can’t find it in the help.txt file? Thanks
Posted about 1 month ago
c00ki3,
I might make an XML version if there is a demand for it. Would be pretty easy to create since everything is dynamic. From a workflow standpoint, for me it’s just easier to add an item to an array then to have to open up a XML file. Like to add an item you would just add it directly to the array:
var navNames:Array = new Array(“Home”, “About”, “New Section”
;
Pretty simple.
-modular
Posted about 1 month ago
sirdna,
Open up the dynamic_nav.as file and look at line 93. Typically to navigate to a section I would call a function named navigate from the onRelease event handler and pass its parent’s “n” value like shown below:
navigate(this._parent.n);
Its “n” value comes from its place within the array. “Home” would be 0. “Selected Work” would be 1, etc.
Then create a navigate function which accepts the “n” value as a parameter. From there the function can navigate to whatever section based on the “n” value. It really depends on how your site is setup but hopefully that helps.
-modular
Posted about 1 month ago
I understand how to change the menu names, but how do I get them to link up to different pages? Thanks
Posted about 1 month ago
If you could take a look at my site… I’m not the best at flash, but I’m learning….
I want the menu to link to other .php files but when you choose another page the menu says green on that page.
Thanks, Andris
Posted about 1 month ago
I had buyed you menu and i can only say it’s nice, but how can i link to different sites? or files…
Posted about 1 month ago
modular,
I LOVE this menu! It looks fantastic on my site. However, I’m trying to get it to go to a label to load content.
Can you point me in the right direction? I’m learning flash, but I think I’d be able to figure it out.
thanks!
Posted about 1 month ago
Just what I was trying to figure out, I thought this was fully functional. Maybe you should list this is doesn’t have a links setting.
Posted about 1 month ago
Anyone have any luck linking up the menu to webpages?
Let me know what I have to do. Thanks
Posted about 1 month ago
c00ki3, apotts76, jleecloak1 , & sirdna, Did you guys try reading and following the instructions in my original post to sirdna above? It should be fairly straight forward. Look at the code again here:
Just replace the home_mc._visible = true part with gotoAndPlay(“home”
if you want to go to a frame label. Use loadMovie(“home.swf”
to load a swf, use getURL to load a url, etc. The nav is fully functional you just need to add the code to give it the specific functionality you want. Some people will want to use loadMovie, some will want to use getURL, some will want to go to and play a frame, some will want to just call another function which handles the loading of sections and transitions. It just depends on how you set up your site and what you want it to do.
Just follow the if/else statement structure for the rest of your buttons. In plain English it is just saying if it’s button 1 do this, else if it is button 2 do this, else if it is button 3 do this… Just follow that for all of your buttons.
If you are still having difficulties let me know specifically what isn’t working or what you don’t understand and I’ll try to help.
Cheers.
-modular
Posted about 1 month ago
Thank you soo much… am I’m idiot.. it works now… but I have one more question.
When I click on each page, how do I get that page to stay highlighted/selected on the menu?
Right now, if you click on the links, it akes you do the page but the “About” is always selected.
Thanks
Posted about 1 month ago
sirdna,
Glad you got it working.
To make the nav selected on a separate page you will have to pass in the section number on the new page into the Flash movie as a query string. In your embed code in the HTML you will need to do something like this:
dynamic_nav.swf?sectionNumber=1
If you aren’t familiar with query strings check the following link
Then you will need to change the following code at the very bottom of the dynamic_nav.as file:
greyOut(0) to greyOut(sectionNumber)
Basically the greyOut function sets the number of the section you pass to it as selected. By default it always sets the first section as selected. If you pass the sectionNumber to it from the query string it will make that section the selected one. So on the embed code of each HTML page just pass in the corresponding sectionNumber.
Hope that helps.
-modular
Posted about 1 month ago
Awesome! Thanks man…. it works perfect!
Are all your menu set up like this?
Posted about 1 month ago
what if we put the include inside a movie clip and need to get it to gotoandplay on the main timeline and not in the movie clip that it’s in?
i think i’m doing something wrong
Posted 16 days ago
vicealliance,
If you have it inside another movie clip you should be able to just use _parent to reference the main timeline. Try _parent.gotoAndPlay or _parent._parent.gotoAndPlay depending on how far you have the clip nested inside the main timeline.
-modular
Posted 15 days ago
Hi Modular,
I followed the instructions you provided Sirdna:
I managed to get the manu to navigate to a URL but as soon as implemented the query string, the string worked but my links don’t anymore.
Am I missing something? Any help would be great.
Posted 14 days ago
shingooo,
If you follow the instructions I gave to Sirdna it should work.
The query string shouldn’t effect how your links work at all. Maybe you can post me some of your code so I can get a better idea of the problem…
-modular
Posted 13 days ago
Modular,
Can you confirm my pm to you? If not, I can post the code here if you like.
Shingooo
Posted 12 days ago
shingoo,
Just got your message and replied. Looks like you might have just made a simple typo (sectionNumber not SectionNumber). Hopefully that will fix the problem. Let me know if it works.
-modular
Posted 12 days ago
Greets Modular,
Great file.
I want to use this over a background image and have a shadow on the type.
Is it possible?
Posted 8 days ago
nakalimutank10,
Yes that is possible. Just put the nav on top of the background you want and you can just apply a dropshadow in Flash to the whole movie clip. And obviously you’ll want to change the colors of the nav to make it legible with your image. But yeah it’s definitely doable. If you have trouble getting it working let me know.
-modular
Posted 7 days ago