Search  

MULTILEVEL XML MENU

HomeBrowse CategoriesFlashMenus & ButtonsHorizontal MenusMultilevel XML Menu

XML HORIZONTAL MENU
\

FLOATING GALLERY
\

PUZZLES
\ \ \ \

This is an AS2 XML driven multilevel menu. It allows the following:
-setting the label of each menu item;
-setting the normal color of each menu item;
-setting the pressed color of each menu item;
-setting the command each menu item will execute.
-setting the horizontal and vertical space between the menu items;
-adding submenu items to each menu item;

The available commands are:
-getURL where you need to set attribut1 with the requested url and attribut2 with the target (_self/_blank);
-gotoAndStop where attribut1 holds the target movie and the attribut2 holds the target frame (named or number);
-gotoAndPlay where attribut1 holds the target movie and the attribut2 holds the target frame (named or number);
-loadMovie where attribut1 holds the deploy movie where the content will load and attribut2 holds the name of the external file to load (tested with images and swf files). attribut3 is an additional variable which can be used to extend functionality.

The menu allows setting one of its items to pressed state by default. In order to do that you have to set flashvars: param name=”FlashVars” value=”default_menu_id=3” – this example sets menu with id 3 to pressed state for IE browser.

Other properties of menu items are available for change in the fla file like:
-font size;
-font name;
-font weight;
-font style; The menu builds from the position it is dropped in the stage.


HOW TO MAKE THE MENU DROP DOWN
In menu_mc on line 136 you will find the code calculating the tar_y value. there is minus sign there “parent_mc.tar_y-”. just replace it with plus sign “parent_mc.tar_y+” and the menu items will drop down.

Posted 6 months ago

Hi, congratulation for this Menu. I would like to know how can i do to have a blur effect under my text of a different color of the text : my First level menu is in Black, the 2nd level is in red and the 3rd in green. I need to have a White blur effect under red (2nd level) and green (3rd level) text. Is it possible ? It would be so great… Thank’s :)

Chris

Posted 26 days ago

hei chris, maybe we can add a new variable in the xml description for every menu item, which describes that color and use it in the actionscript. if you want you can send me your files and i can try to do that change for you.

Posted 22 days ago

Hi Chrisdean

Are all of the features of your multilevel menu controllable with an external XML file? Do I have to own a flash editor to set the contents of the menu items, colors, etc.?

Mr Ed

Posted 6 days ago

hi Ed,

you will find answers in the description above. the properties you described can be set in the xml file. font properties like size, name, bold, etc. cannot.

Posted 5 days ago

hi, is it possible to put sounds during mouse over?

Posted 5 days ago

hi diminal,

it is not supported via the XML but you can open the fla file and edit “btn_mc” movie clip, which you can find in the MENU FOLDER /elements folder in library. the clip has three frames and the second is called “over”. here you can put your short sound.

Posted 4 days ago