This is an XML driven horizontal 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 space between the menu items;
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 item 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 style; Font properties changes may need additional changes for the height of vertical line. The menu builds from the position it is dropped in the stage.