dustbuster
10-09-2002, 06:19 PM
Hello all,
I want to make a clickable Flash banner in an html page. I can make the mbanner clickable with an invisible button within the movie but what I really want to do is set the href location in my html so I can change it when ever I want to. I also don't want to use external text files that import a variable with location in it.
Here is some of the code I have been trying using a map but it doesn't seem to work on my swf (works on jpg's though).
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<map name="map">
<area shape="rect" coords="0,0,32,32" href="#">
</map>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="32" height="32">
<param name=movie value="Movie2.swf">
<param name=quality value=high>
<embed src="Movie2.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="32" height="32" usemap="#map" >
</embed>
</object>
</body>
</html>
Can I do what I am planning or am I stuck with the methods I don't want to use?
Thanks,
D.
I want to make a clickable Flash banner in an html page. I can make the mbanner clickable with an invisible button within the movie but what I really want to do is set the href location in my html so I can change it when ever I want to. I also don't want to use external text files that import a variable with location in it.
Here is some of the code I have been trying using a map but it doesn't seem to work on my swf (works on jpg's though).
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<map name="map">
<area shape="rect" coords="0,0,32,32" href="#">
</map>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="32" height="32">
<param name=movie value="Movie2.swf">
<param name=quality value=high>
<embed src="Movie2.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="32" height="32" usemap="#map" >
</embed>
</object>
</body>
</html>
Can I do what I am planning or am I stuck with the methods I don't want to use?
Thanks,
D.