Why would this not work? I'm using swf object 2.2
http://code.google.com/p/swfobject/downloads/list
Code:
<!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>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script type="text/javascript" src="swfobject.js" ></script>
<style type="text/css">
body {
background-color: #000000;
font: .8em/1.3em verdana,arial,helvetica,sans-serif;
margin: 0; padding: 0;
height: 100%;
}
#noflashcontent {
position:absolute;
top:50%;
left:50%;
margin-left:-300px;
margin-top:-100px;
width:610px;
height:200px;
}
#website {
position:absolute;
top:0px;
left:0px;
width: 100%;
height: 100%;
}
</style>
</head>
<body>
<div id="website">
<div id="noflashcontent">
<img src="noflash.jpg" width="610" height="200" border="0"/>
</div>
</div>
<script type="text/javascript">
var vars = { pluginURL : xml/Main.xml };
var params = { scale:'noScale', salign:'lt' };
var attributes = { id:'website', name:'website' };
swfobject.embedSWF("temp.swf", "website", "100%", "100%", "10.0.0", "/swf/expressinstall.swf", vars, params, attributes );
</script>
</body>
</html>