Feedback
Tell us:
  • Idea
  • Question
  • Bug

$ 5.00
By purchasing and downloading this license, you are entitled, as buyer, to use the product in ONE SINGLE NON- COMMERCIAL PROJECT - details
or

Description:
xml driven tree menu

1. Simple code

2. No instance of btn MovieClip for each button generated. I have only two instances, one for the main menus and another for the sub menu from them I am creating instances at run time

3. You can add any number of items in the menus and sub menus

4. They are simply to be added in to the xml with URLs

5. for the main menu there is an array generated at runtime from the xml and for the sub menu another array is generated

6. before creating the next submenu I am clearing the present ones

7. the code is fully commented with good instructions

8. support is available all the time



There are two arrays created.

One is for the main menu and the second is for the submenu.

On mouseover of each menuitem in the main menu the second function is called to create the sub menu with the new array generated.

After onmouseout the submenus and the main menus are set to the default state like they appear while they are loaded.

The text and the URls are traced from the xml and the number of menus are generated as per the length of the childnodes.

So it is very easy to add or remove the menu items simply by adding or deleting the nodes with text and url attributes at the right place.

The code is commented as per your ease of use.

Createmenu and createsubmenu functions are outside of the onload function of the xml file.

So I am passing the array with the functions to create the menus ar run time.

Duplicating the main menu btn and the sub menu btn on the stage for generating the tree view.

I have an instance of movieclip on the full stage to find the roll out effect from all the menus.

0 Comments


Do you have any comment or questions about satya4satyanm file?


Please register & before you post!
Views 3055
Purchases 3
Buyer Rating
1 2 3 4 5
Leave a Comments 0

Details

Uploaded: 27 November 2008

Opens With: Flash 8 (8+)

Files Included: FLA, SWF, XML, help

Size: 2.07kb

Action Script: AS2

Resolution: 590x300

Documentation: good

Do you like this file?