http://www.tntcenter.com

This is a demo, the full version allows you to have unlimited number of buttons.

Please unzip all files in the same directory before testing it.

Micro Menu (XML)
----------------
Micro menu is a XML menu made in flash, just insert the swf file in your web page and edit the configuration XML file to customize the menu color, buttons text and other settings that you will see in the file, open the configuration file with a text editor like notepad from windows.
The swf file (menu) searches for the file called the same but with XML extension, so if your menu is called "menu1.swf" it will try to load the configuration from "menu1.xml", to use more menu configurations for different pages just duplicate and rename the 2 files (swf and XML).

If you are a beginer and you do not know how to insert the swf flash file into a web page please see these instructions:
http://www.macromedia.com/go/tn_14769

To change the swf file background color edit the html code that contains the menu, you will find a parameter like: bgcolor=#000000, just change the color code for another background color.
Here are more details for changing background color for a swf file:
http://www.tntcenter.com/support/swf_bg_color.php 

Menu buttons can getURL, gotoandPlay, gotoandStop, loadMovie, change these or add them in xml file.

Sample for getURL:
<menu text="Home" what="http://www.tntcenter.com" where="_parent" type="geturl">

Sample for gotoAndStop:
<menu text="Home" what="2" where="_root.my_anim" type="gotoAndStop">

Sample for loadMovie:
<menu text="Home" what="products.swf" where="_root.empty_clip" type="loadMovie">

Sample for fsCommand:
<sub text="Switch to Full Screen" what="fullscreen" where="true" type="fscommand"/>
 
Note that for fscommand "exec" the main flash file would have to be published as exe AND the exe files to be started 
have to be placed in a directory called "fscommand".

More FS commands can be found here:
http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary372.html



Settings for advanced users:
----------------------------
For loadMovie or go to a keyframe load the swf in another main swf by loadMovie.
For example you can create an empty clip, place it in stage, give it an instance name 
("empty_clip") then add these actions in a keyframe:

empty_clip.loadMOvie("menu.swf")

We recommend that you set the target clips starting from "_root" like in above samples;
Root being the root of the main movie, not root of menu.swf.

When swf is loaded in another swf file then XML file name should change to main swf file name.

Keep the default XML fle as backup in case you type something wrong and menu will not work.
For any questions or comments please contact us at www.tntcenter.com/contact/ 

If you want to have a default menu button and sub button highlighted when page loads then you can pass the buttons as html variable:
Parameters are active_main and active_sub and values should be button number (first button is 0). For example on your 
main page you want to have "Home" button highlighted, home is first button so in your html file after menu.swf add variables like this:
menu.swf?active_main=0 or menu.swf?active_main=2&active_sub=1
If you do this then menu will not find its xml file anymore because swf file name just increased so you also need to pass the path
to xml file: menu.swf&xml_file=menu.xml or: menu.swf?xml_file=menu.xml?active_main=2&active_sub=1
