Multilevel Sliding Menu

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 which contain the "[editable]" string. You can easily 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 value="xml=my_path/my_xml_file.xml" /> 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 actually the root of the multilevel menu, on click, it will show the other sub menus that reside 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, which takes you to an url when clicked, has the tag with the same two attributes, "label" and "url".

3. Setting sizes for the Multilevel Menu
When you put the menu in your html file, you can set any width and height you desire for your movie clip, and it will stretch to fit those sizes. When there are many menu items and it cannot fit into those sizes, a scrollbar will appear.

Note: The Menu Items that will take you to a subitem have a little arrow on the right (those that will take you to an url don't have one).

Preview and buy from: FlashDen | FlashJuggler

Multilevel Sliding Menu

You are curently viewing the above product on a reseller website.
File Help and Support Forum | Contact us | Show Details