How to: Seraph menu

Hi all,

before I die of either confusion, or frustration or frustration-based alcohol abuse I’d like to work out how to come up with a multi-tiered hirearchical menu like on http://www.seraph.nl/

Anyone got any ideas, hints, tips, examples. How is this done? Its a lovely menu ain’t it?!

probably XML based. Either that, or it uses a massive array. :confused:

you should try emailing the author, they might be able to point you in the right direction for a couple of tutorials, or something.

Hi as_clark20,

it’s actually quite simple if you know the trick.
The menu is xml based and the great thing about xml is its structure. Just use the node / childnode structure: each button in the menu shows the information gained from the attributes of a node and has to show the submenu based on the childnodes that node. So, a button has to create a container with in it some buttons based on the number of childnodes, giving each new button information from a node and again information about its childnodes. The new buttons also can build containers with buttons based on the childnodes and you can repeat this nested effect of submenu’s as often as you want depending on the number of xml nodes!

Easy as that! Thanks for the compliment!
Good luck

Ah Seraph, man you’re a genius! Now all I have to do is learn XML! Yaaa! You wouldn’t have a quick example I could follow would you sir? or would that be too cheeky?!

Either way atleast now I have a better understanding then when I started!

Thanking you kindly!

Ads.

there’s a tutorial on xml drop down menu from Senocular here http://www.kirupa.com/developer/actionscript/xml_dropdown_menu.htm
Ubik