What is Flash Web Menu

Flash Web Menu is an extremely powerful, fully-customizable and multi-level menu solution for your web sites or flash navigation. Flash Web Menu is the first menu written in Flash which functionally is capable of doing anything in a menu written in DHTML. It is a very easy-to-use menu component which can be configurated simply in an XML file.

Flash Web Menu helps web designers to create professional, pop-up or pulldown transparent menus for web pages or flash without writing a single line of code ! It does not require the designer to have any HTML or JavaScript or Flash experience.

Flash Web Menu can be fully customized by changing the text, font, link, background, border style and so on. The designer can place the menu to relative position or absolute position, and therefore the menu can be easily located at any place of the web page or flash.

Flash Web Menu comes with a Menu Generator that is designed to allow you to create menus easily in a WYSIWYG environment. The Layout and Preview of the menus created can be viewed easily.

Flash Web Menu provides pre-defined templates, so the design doesn't need to start from scratch and will be simple and easier.

With Flash Web Menu any number of multi-level sub-menus may be created. It is not limited to a certain number.

How to use Flash Web Menu in web page

Supported in the Windows version of Internet Explorer 4+ and Flash 5+

Step 1 Copying the Needed Files

Files named flashwebmenu.swf and flashwebmenu.js must be copied to your system. The two files must be in the same directory before they are renamed.

Step 2 Creating the Menu

All the information about the menu which will be created is included in a XML file. Creating a menu technically means creating a XML file. However, you do not have to know XML coding to create the menu. With MenuGenerator link, you can setup and create your menu. The changes or additions you make in the menu generator, is executed and previewed in real-time in a pop-up browser page when View Menu button is pressed. The XML Show button displays the XML code for the created menu. On the window where the XML code is displayed, the Copy2Clipboard button copies all the XML code to clipboard. You can copy this XML code to any text editor program (i.e. Notepad) from the clipboard and then the code is saved in ".xml" format. As you can see, to create the menu, no programs need to be downloaded or installed to your PC. It is so easy.

Step 3 Using the Created Menu in the HTML Document

<html>
<head>

</head>
<body>



<!-- SecretPlus Flash Web Menu Begin -->

<script src="flashwebmenu.js"></script>
<script>var menu1=flashwebmenu.create("flashwebmenu.xml");</script>

<!-- flashwebmenu.xml : Specifies the the URL of the XML file of the created menu -->

<!-- SecretPlus Flash Web Menu End -->



</body>
</html>

How to use Flash Web Menu in flash

Supported in Flash 5+

Step 1 Copying the Needed Files

File named flashwebmenu.swf must be copied to your system.

Step 2 Creating the Menu

All the information about the menu which will be created is included in a XML file. Creating a menu technically means creating a XML file. However, you do not have to know XML coding to create the menu. With MenuGenerator link, you can setup and create your menu. The changes or additions you make in the menu generator, is executed and previewed in real-time in a pop-up browser page when View Menu button is pressed. The XML Show button displays the XML code for the created menu. On the window where the XML code is displayed, the Copy2Clipboard button copies all the XML code to clipboard. You can copy this XML code to any text editor program (i.e. Notepad) from the clipboard and then the code is saved in ".xml" format. As you can see, to create the menu, no programs need to be downloaded or installed to your PC. It is so easy.

Step 3 Using the Created Menu in the Flash


_level0.menulevel=1;

/*menulevel:the level number to which the menu will be loaded*/

_level0.menuxml="flashmenusample.xml";

/*menuxml:the URL of the XML file of the menu*/

_level0.menuwidth=800;

/*moviewidth:your movie width*/

_level0.menuheight=600;

/*movieheight:your movie height*/

if(eval("_level"+_level0.menulevel)==null){
loadMovieNum ("flashwebmenu.swf", _level0.menulevel);
}

function menuscript(index){

if(actionscript=="1"){

/*actionscript:1*/

}
else if(actionscript=="2"){

/*actionscript:2*/

}

/*...*/

}

/*
actionscript:1 ; the <item href="actionscript:1" /> of the XML code of the menu which will be ran with the "actionscript:1" statement
*/