This content has been marked as final. Show 5 replies
What exactly do you mean with 'navigation status'?
what I mean is how to keep track of what part of the menu is open. For
example, what section are you at the moment, what subsection menu is
open from that section and so forth. I want the sub menus to open upon
clicking on the menu. Then there might be sub menues of the submenus...
For example like this. I have the following buttons.
Level 2: submenu for button 1:
Level 2: submenu for button 2:
Level3: Then I could even have a sub os a sub like this:
Does that make sense?
Thanks for the help!
Well, let's make a start with an answer...
Here is how I do this. I have an xml file that holds all info on the menu, see attached code. I load the xml with a class that has several getter methods - for instance - getMenu(id) - that return an object with all info on the specified menu. Or get a specified submenu - getSubMenu(id). The attributes in de xml file become properties of the 'buttons' (mc's) in the menu. The code that controls the menu has a function that parses the string - for example "1-1-1" and then calls other functions passing the individual numbers as parameters.
Does this help?
By the way: have a look at the provided example which demonstrates the basic usage. In your Macromedia Flash 8 program directory -> Samples and Tutorials -> Samples -> ActionScript -> XML_Menu
LuigiL, sorry it took me a moment to get back to this.
This is great, I will have a look at the sample file. Might be a little
bit beyond my skill level but I will try. This definitely seems really
Thanks a lot!