Studiomedia7
03-26-2008, 12:14 AM
hello i am trying to center my flash movie in the browser, but the browser instead places the swf on the top of the browser... any ideas how can i fix this? i know it must be simple, but i just cant figure this out... here have a look at my html code
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Cyprus Airports</title>
<meta name="description" content=" media, advertising">
<meta name="keywords" content=" airport, Advertising,">
</head>
<body bgcolor="#000000">
<div style="width:300px; height:197px; margin:0 auto;"
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="300" height="197" id="index" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="index.swf" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><param name="bgcolor" value="#ffffff" /><embed src="index.swf" quality="high" wmode="transparent" bgcolor="#ffffff" width="300" height="197" name="index" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</div>
</body>
</html>
thanks for your time:cool:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Cyprus Airports</title>
<meta name="description" content=" media, advertising">
<meta name="keywords" content=" airport, Advertising,">
</head>
<body bgcolor="#000000">
<div style="width:300px; height:197px; margin:0 auto;"
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="300" height="197" id="index" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="index.swf" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><param name="bgcolor" value="#ffffff" /><embed src="index.swf" quality="high" wmode="transparent" bgcolor="#ffffff" width="300" height="197" name="index" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</div>
</body>
</html>
thanks for your time:cool: