# Dynamic drop down menu

**URL:** <https://forum.kirupa.com/t/dynamic-drop-down-menu/42006>\
**Category:** flash\
**Created:** [February 4, 2004, 3:19am UTC](https://forum.kirupa.com/t/dynamic-drop-down-menu/42006 "2004-02-04T03:19:37Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![reverendflash](https://avatars.discourse-cdn.com/v4/letter/r/f08c70/32.png) [@reverendflash](https://forum.kirupa.com/u/reverendflash)\
**Post date:** [February 4, 2004, 3:19am UTC](https://forum.kirupa.com/t/dynamic-drop-down-menu/42006/1 "2004-02-04T03:19:37Z")

</div>

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 ![](http://aulman.com/rev.gif)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 4, 2004, 3:39am UTC](https://forum.kirupa.com/t/dynamic-drop-down-menu/42006/2 "2004-02-04T03:39:57Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 4, 2004, 3:53am UTC](https://forum.kirupa.com/t/dynamic-drop-down-menu/42006/3 "2004-02-04T03:53:36Z")

</div>

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:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 4, 2004, 4:13am UTC](https://forum.kirupa.com/t/dynamic-drop-down-menu/42006/4 "2004-02-04T04:13:00Z")

</div>

here is my file…

[http://aulman.com/locator.zip](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 ![](http://aulman.com/rev.gif)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 4, 2004, 4:14am UTC](https://forum.kirupa.com/t/dynamic-drop-down-menu/42006/5 "2004-02-04T04:14:51Z")

</div>

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]

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 4, 2004, 4:16am UTC](https://forum.kirupa.com/t/dynamic-drop-down-menu/42006/6 "2004-02-04T04:16:04Z")

</div>

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 ![](http://aulman.com/rev.gif)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 4, 2004, 4:16am UTC](https://forum.kirupa.com/t/dynamic-drop-down-menu/42006/7 "2004-02-04T04:16:53Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 4, 2004, 4:25am UTC](https://forum.kirupa.com/t/dynamic-drop-down-menu/42006/8 "2004-02-04T04:25:36Z")

</div>

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 ![](http://aulman.com/rev.gif)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 4, 2004, 4:27am UTC](https://forum.kirupa.com/t/dynamic-drop-down-menu/42006/9 "2004-02-04T04:27:36Z")

</div>

please excuse the sloppy coding…

😊

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 ![](http://aulman.com/rev.gif)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 4, 2004, 4:30am UTC](https://forum.kirupa.com/t/dynamic-drop-down-menu/42006/10 "2004-02-04T04:30:12Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 4, 2004, 4:32am UTC](https://forum.kirupa.com/t/dynamic-drop-down-menu/42006/11 "2004-02-04T04:32:29Z")

</div>

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 ![](http://aulman.com/rev.gif)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 4, 2004, 4:33am UTC](https://forum.kirupa.com/t/dynamic-drop-down-menu/42006/12 "2004-02-04T04:33:52Z")

</div>

I’m uploading the .fla now…

[http://aulman.com/locator.fla](http://aulman.com/locator.fla)

Rev ![](http://aulman.com/rev.gif)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 4, 2004, 4:35am UTC](https://forum.kirupa.com/t/dynamic-drop-down-menu/42006/13 "2004-02-04T04:35:41Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 4, 2004, 4:38am UTC](https://forum.kirupa.com/t/dynamic-drop-down-menu/42006/14 "2004-02-04T04:38:38Z")

</div>

yes they are.

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

Rev ![](http://aulman.com/rev.gif)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 4, 2004, 4:40am UTC](https://forum.kirupa.com/t/dynamic-drop-down-menu/42006/15 "2004-02-04T04:40:15Z")

</div>

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

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

Rev ![](http://aulman.com/rev.gif)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 4, 2004, 4:53am UTC](https://forum.kirupa.com/t/dynamic-drop-down-menu/42006/16 "2004-02-04T04:53:10Z")

</div>

Send the link when you are ready 😉

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 4, 2004, 4:54am UTC](https://forum.kirupa.com/t/dynamic-drop-down-menu/42006/17 "2004-02-04T04:54:34Z")

</div>

it is [http://aulman.com/locator.fla](http://aulman.com/locator.fla)

(I thought that was blatant, sorry about that)

getURLing please…

thanks again…

Rev ![](http://aulman.com/rev.gif)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 4, 2004, 4:59am UTC](https://forum.kirupa.com/t/dynamic-drop-down-menu/42006/18 "2004-02-04T04:59:37Z")

</div>

Still closes… very weird.

Ah well… hopefully you like what I come up with 😛

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 4, 2004, 5:00am UTC](https://forum.kirupa.com/t/dynamic-drop-down-menu/42006/19 "2004-02-04T05:00:56Z")

</div>

must be the clock…

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

I usually understand your code so easily…

:brownnose:

Rev ![](http://aulman.com/rev.gif)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 4, 2004, 5:02am UTC](https://forum.kirupa.com/t/dynamic-drop-down-menu/42006/20 "2004-02-04T05:02:29Z")

</div>

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

[Next page](https://forum.kirupa.com/t/dynamic-drop-down-menu/42006.md?page=2)
