unfit menu help
unfit menu help
Out of context: Reply #4
- Started
- Last post
- 7 Responses
- unfittoprint0
#1 make an XML file with the menu items and subitems. to each give a label attribute [the button label].
#2 use the XML object in Flash and the onLoad event ot retrieve and parse the XML file.
#3 the parsing will consist of two for loops [categories and subcategories]. Create an empty category holder, within it attach a category MC and make an empty subCategory holder. Fill this last one with the subcategories MC's. setMask().
#4 make an showHide(status) that will close/open the category if status=true/false.
This function should always target the next category below (i+1) and update it's _y.