Xml menu DONE :)

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

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 :slight_smile:


[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][/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

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

thats cool

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

Thanks Voetsjoeba :beam:

wow this is amzing! I really love it!

Excellent work.
:beer:

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).

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

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

<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.

Hey hga77,

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

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

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?

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?

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.

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?

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:

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

It would have to be a big tutorial though.

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.

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