hide side navigation
    5 most recent
    Web Services
    Library's
    Component's
    Applications
  Tree menu  Flex 2 Guestbook  Videobox  Simple mp3 player  Videoroom  Moving menu  Flash db board reader  Simple photo gallery  Simplecart and External Interface  Email in Flash II  Photo and Video gallery  New Store  Flash GuestBook V2  Flash-db Miniboard  ActionScript dictionary  Private chat with FlashCom  Flash Whois  An online store  Flash RSS reader  Net Tools - Whois in Flash  Flash Message Board  Flash GuestBook  Email in Flash  Sending Custom Ecards  Simple Live Counter with PHP
    Articles
 Read Full Documentation >>

Tree Menu
Author: Dan Loaiza (papachan)

This three menu allow to nest multiple levels of menu categories trough a simple XML file. The XML structure use multiple item nodes and is very straightforward. Just modify the example file and you will have your own working menu.

To set menu callbacks, you set a link property in the node passing an arbitrary string as the info, then you add a callback on the timeline to take the appropriate action. Here's an example:


var listener = new Object();
listener.onClickSection = function(evt:Object) {
    
//evt.valu is the content of the link node property
    
trace(evt.value)
};
this.menu.addEventListener("onClickSection",listener);

All classes for this menu are inside flash-db package, splitting the necessary functionality to make it more robust. This menu use AS2 and target Flash player 8+

Download the source files

Post any question on Flash-db Boards