Dynamic drop down menu

I could have sworn that I saw a tutorial for a dynamic drop down menu, which was not sen’s xml one…

maybe I am halucinating…

anyway, I did search, but if you can find it before I do, you can laugh at me, in public…

what I am looking to do, is have a horizontal nav bar across the top of the stage, then have a couple of drop downs from there, and then have it all be able to be changed via an external text file.

If I have to, I will see if I can modify sen’s tut to make it work, but I am in a bit of a pinch for time, and learning a bit of xml right now may be too time consuming…

Thanks in advance for anyone who helps…

Rev

have you checked flashkit and ultrashock? i thought i saw one at either of those two. i will look inteh morning when i have more time for you.

Aside from Sens I don’t really know if i’ve seen this before (tutorial wise).

But I should be able to whip something up if you can’t find it Rev. Anything for you :love:

here is my file…

http://aulman.com/locator.zip

I need the top nav to be dynamic drop down. I would like to use a .txt file for the ‘button’ text, and the GetURL…

thanks lost, any help is appreciated.

:love:

Rev

Would you mind using an XML file? It will be loads easier for updating, and all you will have to mess with is the XML file (which after you see how it is set up you should automatically know how to add/remove/edit content in the file)

[edit]im getting an unexpected file format error (im on MX)[/edit]

yup, that is fine…

the guy who is actually doing the admin for the updates section knows xml…

He’s bought me a book on XML and FLash, but hasn’t gotten it to me yet…

Rev

Awesome… and if you didn’t catch my last edit… i’m getting an unexpected file format error. I’m running Flash MX.

Okie Dokie, I forget that sometimes…

I hate having 4 versions of the same prog on my machine…

Ihave re-uploaded the MX version…

Thanks

Rev

please excuse the sloppy coding…

:blush:

BTW - this doesn’t have to be pretty, I just need it to show how it is going to work, so if you want to only do 2 buttons, I can do the rest… if you understand what I mean…

Rev

ROFL… what the heck! I go to open the .fla file and Flash closes on me… every time… and only for that .fla file.

If you need to you can send me that names of the nav items and the sub items they will contain…

home, about, computer parts, printer supplies, services, contact

the subs can be generic at this point.

I’m hoping to make the number of subs dynamic…

I’d really rather do this in Flash, rather than JavaScript…

Rev

I’m uploading the .fla now…

http://aulman.com/locator.fla

Rev

Still the same :-/

I will see if I can whip something up… and hopefully you can adapt that into what you have.

Are all the buttons the same, but with different text?

yes they are.

simple text in arial, then the drops will be in a smaller font size…

Rev

I’m also uploading a new version 5 .fla …

let’s see if we can open that shall we?

Rev

Send the link when you are ready :wink:

Also… what will this menu being doing when clicked? will it be gotoAndPlaying or will it be getURLing or will it be loadMovieing?

it is http://aulman.com/locator.fla

(I thought that was blatant, sorry about that)

getURLing please…

thanks again…

Rev

Still closes… very weird.

Ah well… hopefully you like what I come up with :stuck_out_tongue:

must be the clock…

I’m sure I’ll be able to modify yours.

I usually understand your code so easily…

:brownnose:

Rev

One last question… the getURL… is it _self or _blank? or is there a target?