# Xml menu DONE :)

**URL:** <https://forum.kirupa.com/t/xml-menu-done/38934>\
**Category:** Uncategorized\
**Created:** [January 1, 2004, 4:03am UTC](https://forum.kirupa.com/t/xml-menu-done/38934 "2004-01-01T04:03:11Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![hga77](https://avatars.discourse-cdn.com/v4/letter/h/4bbf92/32.png) [@hga77](https://forum.kirupa.com/u/hga77)\
**Post date:** [January 1, 2004, 4:03am UTC](https://forum.kirupa.com/t/xml-menu-done/38934/1 "2004-01-01T04:03:11Z")

</div>

Happy New Year kirupa…Hope all you ppl had a great year and didnt stick to flash too much 😉

Anyways I just managed to finish the xml menu i’ve been working on…

I’ve attached it here incase any1 needs something like this. Use it as you like. Let me know if you make any additions to it 🙂

* * *

[font=Tahoma][color=DarkRed]\*\*UPDATE(04/2004): you can find v2 for this menu on page 3 post #31  
**[/color][/font][color=Blue][[font=Tahoma]http://www.kirupa.com/forum/showpost.php?p=438010&postcount=31[/font]](http://www.kirupa.com/forum/showpost.php?p=438010&postcount=31)[/color]  
[font=Tahoma][color=DarkRed]**[color=black]  
[/color] \*\*[/color] [color=DarkRed]\*\*UPDATE(07/2004): you can find v3 for this menu on page 15 post #221  
[color=black][http://www.kirupa.com/forum/showpost.php?p=569520&postcount=221](http://www.kirupa.com/forum/showpost.php?p=569520&postcount=221)

[/color] \*\*[/color][/font] --------------------------------------------------------------------------

---

<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:** [January 1, 2004, 4:34am UTC](https://forum.kirupa.com/t/xml-menu-done/38934/2 "2004-01-01T04:34:35Z")

</div>

thats cool

---

<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 6, 2004, 9:24pm UTC](https://forum.kirupa.com/t/xml-menu-done/38934/3 "2004-02-06T21:24:16Z")

</div>

Very nice work there hga77 ! =) Deserves a spot in Best of Kirupa 😉

---

<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 7, 2004, 3:19am UTC](https://forum.kirupa.com/t/xml-menu-done/38934/4 "2004-02-07T03:19:45Z")

</div>

Thanks Voetsjoeba :beam:

---

<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 8, 2004, 8:45pm UTC](https://forum.kirupa.com/t/xml-menu-done/38934/5 "2004-02-08T20:45:55Z")

</div>

wow this is amzing! I really love it!

---

<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 12, 2004, 2:02am UTC](https://forum.kirupa.com/t/xml-menu-done/38934/6 "2004-02-12T02:02:33Z")

</div>

Excellent work.  
🍺

---

<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 20, 2004, 1:51am UTC](https://forum.kirupa.com/t/xml-menu-done/38934/7 "2004-02-20T01:51:55Z")

</div>

Update to v2:

Added effects to the menu.

You can change the entry effects for the main items or the sub items by changing the tweens within the corresponding mc (‘Item’ or ‘sub’ in the library).

---

<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 20, 2004, 1:57am UTC](https://forum.kirupa.com/t/xml-menu-done/38934/8 "2004-02-20T01:57:07Z")

</div>

lbeetles, you can load this menu into a movie clip. And about the scrollpane, that should be possible too. If I understand you correctly…

---

<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:** [July 6, 2004, 12:51am UTC](https://forum.kirupa.com/t/xml-menu-done/38934/9 "2004-07-06T00:51:20Z")

</div>

hga77, would it be easy to change the code in teh fla to read the xml doc like this

```auto
<menu>
<item>
<name>"Services"</name>
<action>"ServicesLink"</action>
<sub>
	<name>"Service 1"</name>
	<action="Services vid 1"</action>
</sub>
</item> 
<item>
<name>"Services1"</name>
<action>"ServicesLink1"</action>
<sub>
	<name>"Service 11"</name>
	<action="Services vid 11"</action>
</sub>
</item> 
</menu>

```

rather then the way the xml file is layed out now???

My example is probably not correct thou, but if you get what i mean by the way i have tried to set it up.

---

<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:** [July 6, 2004, 4:43pm UTC](https://forum.kirupa.com/t/xml-menu-done/38934/10 "2004-07-06T16:43:33Z")

</div>

Hey hga77,

Thanks so much for that. It is perfect!!! you the man!!!

---

<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:** [July 6, 2004, 4:51pm UTC](https://forum.kirupa.com/t/xml-menu-done/38934/11 "2004-07-06T16:51:27Z")

</div>

any way to have three levels - one top level - two sublevels?

---

<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:** [July 7, 2004, 4:08pm UTC](https://forum.kirupa.com/t/xml-menu-done/38934/12 "2004-07-07T16:08:04Z")

</div>

awsome Menu…loved it!

what i am trying to do, using the .fla u last gave us with the downstate thingy, is have the menu in its own frame…and i want each button to load a URL in a different frame…how would i do that?

---

<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:** [July 7, 2004, 4:14pm UTC](https://forum.kirupa.com/t/xml-menu-done/38934/13 "2004-07-07T16:14:05Z")

</div>

Ibeetles, its possible to have the xml in a different format, but I dont think we should change the menu somuch now.

niki, this would need more work and I dont have that time…sorry

---

<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:** [July 7, 2004, 4:15pm UTC](https://forum.kirupa.com/t/xml-menu-done/38934/14 "2004-07-07T16:15:08Z")

</div>

> [@hga77](#):
>
> Ibeetles, its possible to have the xml in a different format, but I dont think we should change the menu somuch now.
> 
> niki, this would need more work and I dont have that time…sorry

I could pay you! Would that help?

---

<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:** [July 7, 2004, 4:16pm UTC](https://forum.kirupa.com/t/xml-menu-done/38934/15 "2004-07-07T16:16:22Z")

</div>

dpemokid, why do you need to load them in different frames??  
you can load url’s, you just need to specify them in the xml file.

---

<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:** [July 7, 2004, 4:43pm UTC](https://forum.kirupa.com/t/xml-menu-done/38934/16 "2004-07-07T16:43:38Z")

</div>

i’m not following you…I dunt want the URLs to load in a blank page…i want them to load on the same page as the menu…how would i do that?

---

<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:** [July 7, 2004, 5:06pm UTC](https://forum.kirupa.com/t/xml-menu-done/38934/17 "2004-07-07T17:06:53Z")

</div>

hga77,

Just wanted to thank you for being a great contribution to the kirupa community. You should write a tutorial on the xml menu maybe, it would probably wipe out the need to answer all these questions.

:thumb:

---

<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:** [July 7, 2004, 5:23pm UTC](https://forum.kirupa.com/t/xml-menu-done/38934/18 "2004-07-07T17:23:28Z")

</div>

thanks telekinesis. I learnt somuch from Kirupa, so this is just one way to say thanks 😉

It would have to be a big tutorial though.

---

<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:** [July 7, 2004, 9:51pm UTC](https://forum.kirupa.com/t/xml-menu-done/38934/19 "2004-07-07T21:51:57Z")

</div>

ok thats cool hga77, i was asking cos i am creating the xml file via php which is getting the data from a database, but i have now sorted it.

---

<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:** [July 7, 2004, 10:02pm UTC](https://forum.kirupa.com/t/xml-menu-done/38934/20 "2004-07-07T22:02:17Z")

</div>

just script the php code so that it generates the same xml structure we use here 😉

[Next page](https://forum.kirupa.com/t/xml-menu-done/38934.md?page=2)
