Set the xml file for a flash menu
Some menus (including Micro Menu XML) are made to load the xml data from any given file.
The xml data can also be stored in same format but in a different file than menu.xml, the file can be menu_data.php or menu_data.asp so that you can set the contents of the file dynamically by php, asp or cfm code blocks.
If nothing tells the menu to load the data from a specific file then the menu will just load the data from a file called like the swf but with xml extension, for example if you have menu15.swf then by default the menu will load data from menu15.xml.
To tell the menu to load the data from another file you have to write the path to this file in the html code for that menu, the path to file comes after the path to the swf file.
menu1.swf?xml_file=menu_data.php
OR
menu1.swf?xml_file=menu_data.xml
When you have the swf file in the html code, view the source of html, locate the path to the swf file and add the parameter as shown above (by xml_file=your_menu_data.php). Note that the menu path (e.g. menu.swf or /swf/menu.swf) is written in 2 places in the html code, locate both of them and add the xml_file parameter in both locations.
Example, how the html code should look:
<object classid=
"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=
"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=
6,0,29,0"
width="216" height="272">
<param name="movie" value="/flash_menus/menu.swf?xml_file=menu_data.php" />
<param name="quality" value="high" />
<param name="BGCOLOR" value="#FFCC00" />
<param name="WMODE" value="TRANSPARENT" />
<param name="menu" value="false" />
<embed src="/flash_menus/menu.swf?xml_file=menu_data.php" width=
"216" height="272" quality="high" pluginspage=
"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=
ShockwaveFlash"
type="application/x-shockwave-flash" bgcolor="#FFCC00" wmode=
"TRANSPARENT" menu="false" />
</object>