I'm trying to incorporate
a Flash menu created using the Total Menu Builder from Flash-Extensions.net,
but I can't work out from your instructions how to add the XML code to an HTML
page to be able to see the Menu.
I used the "tmxmlcreator.html" to create the code listed below.
I have saved it as menu.xml in my "swf" folder in the website root directory
I have then created a new html page in Dreamweaver and pasted in the Object
tag to get
the following:
"
http://www.w3.org/TR/html4/loose.dtd"> <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>
<body>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="
http://download.macromedia.com/pub/shockwave/cabs/ flash/swflash.cab#version=7,0,0,0" width="width"
height="height">
<param name="movie" value="../swf/menu.xml">
<param name="quality" value="high">
<param name="scale" value="noscale">
<param name="bgcolor" value="background color">
<param name="flashVars"
value="xmlURL=../swf/menu.xml">
<embed src="../swf/menu.xml" width="width" height="height"
flashvars=" xmlURL=../swf/menu.xml" quality="high"
pluginspage="
http://www.macromedia.com/go/getflashplayer" type="
application/x-shockwave-flash" scale="noscale" bgcolor="
background color"></embed>
</object>
</body>
</html>
I'm not sure how to export the settings from the Menu Builder to create a
"menu.swf"
that I can then insert into the html page.
Am I able to import the "menu.xml " into Flash to create a Menu in Flash, and
then
re-export it as a swf file.
In Dreamweaver where do I paste the xml code that is created. Doesn't matter
what I
do I can't see the Menu I have created in the Menu Builder. The design page is
just
white.
What am I doing wrong?
Could you please send me back the final html code that will enable Dreamweaver
to see
and Play the menu?
Please help
xml code attached
<?xml version="1.0" encoding="iso-8859-1"?>
<menu>
<properties>
<menu_width>
<main_menu width="800" />
<sub_menu width="0" />
</menu_width>
<colors_and_alpha>
<main_menu>
<background Color="FFFF99" Alpha="100" />
<background_gradient topColor="FFFF99" bottomColor="006600" Alpha="100"
/>
<border Color="FFFF99" Alpha="100" />
<emboss_light Color="FFFF99" Alpha="20" />
<buttons_separator Color="FFFF99" Alpha="100" />
<text Color="000000" rolloverColor="000000" pressColor="000000" />
<rollover_bar_light Color="006600" Alpha="100" />
<rollover_bar_light_gradient topColor="006600" bottomColor="FFFF99"
Alpha="100" />
</main_menu>
<sub_menu>
<background Color="FFFF99" Alpha="100" />
<background_gradient topColor="FFFF99" bottomColor="006600" Alpha="100"
/>
<border Color="FFFF99" Alpha="0" />
<emboss_light Color="FFFF99" Alpha="30" />
<buttons_separator Color="FFFF99" Alpha="100" />
<text Color="000000" rolloverColor="000000" pressColor="000000" />
<rollover_bar_light Color="006600" Alpha="100" />
<rollover_bar_light_gradient topColor="006600" bottomColor="FFFF99"
Alpha="100" />
</sub_menu>
</colors_and_alpha>
<buttons_view>
<main_menu>
<buttons_height height="30" />
<emboss state="1" />
<on_click_expands_submenu state="0" />
<identical_max_width state="1" />
<buttons_separator state="0" />
<round_corners radius="4" />
<text_size size="14" />
<text_indent width="4" />
<text_align align="center" />
<text_font name="_sans" />
<text_bold state="0" />
</main_menu>
<sub_menu>
<buttons_height height="20" />
<emboss state="1" />
<identical_max_width state="1" />
<buttons_separator state="0" />
<round_corners radius="0" />
<text_size size="13" />
<text_indent width="4" />
<text_align align="center" />
<text_font name="_sans" />
<text_bold state="0" />
</sub_menu>
</buttons_view>
<your_background>
<bg bg_file_path="" />
</your_background>
<buttons_sound>
<rollover_sound mp3source="sfx.mp3" mp3volume="5" />
</buttons_sound>
</properties>
<buttons>
<main text="ABOUT US" url="
http://www.grassman.com.au/new/index.html"
target="_blank" action="getUrl" disable="0">
<sub text="History"
url="
http://www.grassman.com.au/new/pages/history.html"
target="_blank" action="getUrl" disable="0" />
<sub text="Achievements"
url="
http://www.grassman.com.au/new/pages/achievements.html" target="_blank"
action="getUrl" disable="0" />
<sub text="Testomonials"
url="
http://www.grassman.com.au/new/pages/achievements.html" target="_blank"
action="getUrl" disable="0" />
</main>
<main text="SPORTS" url="
http://www.grassman.com.au/new/pages/sports.html"
target="_blank" action="getUrl" disable="0">
<sub text="Tennis" url="
http://www.grassman.com.au/new/pages/tennis.html"
target="_blank" action="getUrl" disable="0" />
<sub text="Cricket"
url="
http://www.grassman.com.au/new/pages/cricket.html"
target="_blank" action="getUrl" disable="0" />
<sub text="Athletics"
url="
http://www.grassman.com.au/new/pages/athletics.html"
target="_blank" action="getUrl" disable="0" />
<sub text="Indoor Multisport"
url="
http://www.grassman.com.au/new/pages/indoor.html" target="_blank"
action="getUrl"
disable="0" />
<sub text="Multisport"
url="
http://www.grassman.com.au/new/pages/multisport.html"
target="" action="getUrl" disable="0" />
<sub text="Hockey" url="
http://www.grassman.com.au/new/pages/hockey.html"
target=""
action="getUrl" disable="0" />
<sub text="Bowls" url="
http://www.grassman.com.au/new/pages/bowls.html"
target=""
action="getUrl" disable="0" />
<sub text="Golf" url="
http://www.grassman.com.au/new/pages/golf.html"
target=""
action="getUrl" disable="0" />
<sub text="Horse Racing"
url="
http://www.grassman.com.au/new/pages/golf.html"
target="" action="getUrl" disable="0" />
<sub text="Greyhound"
url="
http://www.grassman.com.au/new/pages/greyhound.html"
target="" action="getUrl" disable="0" />
</main>
<main text="LANDSCAPE"
url="
http://www.grassman.com.au/new/pages/landscape.html"
target="_blank" action="getUrl" disable="0">
<sub text="Schools"
url="
http://www.grassman.com.au/new/pages/schools.html"
target="_blank" action="getUrl" disable="0" />
<sub text="Playgrounds"
url="
http://www.grassman.com.au/new/pages/playgrounds.html"
target="_blank" action="getUrl" disable="0" />