Active content my***

[FONT=Times New Roman][SIZE=3]Hi[/SIZE][/FONT]

[FONT=Times New Roman][SIZE=3]I am having problems understanding how to get rid of the active content issue in newer IE. [/SIZE][/FONT]

[FONT=Times New Roman][SIZE=3]I downloaded the javascript from the tutorial here on kirupa. Then I have this piece of code that should be in my html.[/SIZE][/FONT]

<script type="text/javascript" src="flashobject.js"></script>
<div id="flashcontent" style="width: 100%; height: 100%"></div>
<script type="text/javascript">
var fo = new FlashObject("main.swf", "animationName", "100%", "100%", "8", "#FFFFFF");
fo.addParam("allowScriptAccess", "sameDomain");
fo.addParam("quality", "high");
fo.addParam("scale", "noscale");
fo.addParam("loop", "false");
fo.write("flashcontent");
</script>

[FONT=Times New Roman][SIZE=3]but I don’t know where to put it, and when I try it doesn’t work.[/SIZE][/FONT]

[FONT=Times New Roman][SIZE=3]My original hmtl looks like this, what should the end result be? So that it works in both IE, FF etc.Appreciate your help! :geek: [/SIZE][/FONT]

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Wetsites - Webdesign and graphic design</title>
</head>
<body bgcolor="#B0BDBF">
<!--url's used in the movie-->
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="100%" height="100%" id="main" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="main.swf" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param name="bgcolor" value="#B0BDBF" /><embed src="main.swf" quality="high" scale="noscale" bgcolor="#B0BDBF" width="100%" height="100%" name="main" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</body>
</html>