This post contains attachments v20021203072141.zip 
Summary
This is a Macromedia Flash menu for a website using XML
This is the exact menu system we use here at TopXML. This menu was built by Wayne Hunt of Unified Media, contact him for your own work.
Index.asp - this is an example of a page that would display the menu. You will need to change the include statement to reflect the location of MenuInclude.asp (preferably in /menu)
MenuInclude.asp - This is a function that will print the HTML for the movie. The only required argument is the script name - Request.ServerVariables(script_name) - which sets the default tab properly. This file should be included on any page that you would like menu displayed. While theoretically, it could be located anywhere, I would put it in /menu for best results.
Menu.swf - the swf file itself. This should be placed in /menu
Menu.xml - the XML data for the menu. This should be placed in /menu
Menu.fla - the Flash file itself (I put it in / or the root directory)
Flash can use any color background, however transparent backgrounds do not work on all browsers. If you look at the XML file, there is an attribute in the color section: <backcolor>efefef</backcolor> that will set the background color of the movie and will work in every browser.
The content fields can take limited XHTML like color, underlines and links.
Enjoy it! This menu was built by Wayne Hunt of Unified Media, contact him for your own work.
If you use this menu and upgrade it, please submit the upgrade to the code library and increment the version number, listing the changes.
Thanks! Mark Wilson.
|