Hey guys,
Got a real weird issue with swfobject in all IE browser. It plays the swf file in all browsers but not all IE browsers. I need to know if I'm doing something wrong with the code. Thanks for the help.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Title</title>
<link href="styles/default-styles.css" rel="stylesheet" type="text/css" />
<script src="js/jquery-1.4.2.min.js" type="text/javascript"></script>
<script type="text/javascript" src="js/swfobject.js"></script>
<script type="text/javascript">
var flashvars = {};
var params = {};
params.play = "true";
params.menu = "false";
params.scale = "noscale";
params.bgcolor = "#FFFFFF";
params.allowscriptaccess = "never";
var attributes = {};
attributes.align = "middle";
swfobject.embedSWF("swf/home-animation.swf", "s_Hometop", "940", "473", "9.0.0", false, flashvars, params, attributes);
</script>
</head>
<body>
<div id="s_wrapper">
<div id="s_Top">
<div id="s_Hometop" class="s_Hometop" align="center"></div>
<div class="s_Homecaption">
<p>Text Caption</p>
</div>
<div class="s_Nav">
<a class="s_bHome" href="index.html">Home</a>
</div>
</div>
<div id="s_Bottom"><img src="graphx/g_orangebar.gif" alt="" width="792" height="6" border="0" /><br /><p><a href="#">www.test.com</a> • 555.555.5555</p></div>
</div>
</body>
</html>