Multilevel Sliding Menu requires Macromedia Flash 8 and Action Script 2.0. It has a tree structure, getting the data from a XML file.
1. Customization:
a. Edit Library symbols wich contain the "[editable]" string. You can easely change color or add gradient color, or set you own animations.
b. Open "MenuItem.as" and edit the variables inside the commented block named "CUSTOMIZATION"
2. Data Provider
The data provider is a XML file named data.xml. This is the default file name and the file it self should be in the same directory as the flash movie clip.
You can also set your own file path via "flashvars" attribute like this: ... flashvars="xml=my_path/my_xml_file.xml" ... if you use it as embed, or if you use it as an object. When editing the xml file you should know that the tag for a submenu item is . It has two attributes, "label" wich sets his label, and "url". Except the time when the menu is actualy the root of the multilevel menu, on click, it will show the other submenus that rezide in it. You should notice that the top menu item has the same name as the parent and on click it opens the url specified in the parent's "url" attribute. So the first item represent the actual parent of all the following items. A simple menu entry, wich takes you to an url when clicked, has the tag with the same two attributes, "label" and "url".
Category:
Write a Review
Add Favorite
Refer it to Friend
Report Broken Link
Date Added: Feb 5, 2008 Hits: 21 Rating: 0.00 Votes: 0