Try embedding your movies like this:





<!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>Your site</title>






 <style type="text/css" media="screen">
 html, body{
 margin:0;
 padding:0;
 height:100%;
 overflow:hidden;
 background:#000000;
 }
 #flashContainer{
 height:693px;
 }
 </style>
 <script type="text/javascript" src="swfobject.js"></script>
 <script type="text/javascript">
 //<![CDATA[


 function setFlashSize(flashWidth,flashHeight){
 var size = [0,0];
 if( typeof( window.innerWidth ) == 'number' ) {
 size = [window.innerWidth, window.innerHeight];
 } else if( document.documentElement && (
document.documentElement.clientWidth ||
document.documentElement.clientHeight ) ) {
 size = [document.documentElement.clientWidth,
document.documentElement.clientHeight];
 } else if( document.body && ( document.body.clientWidth ||
document.body.clientHeight ) ) {
 size = [document.body.clientWidth, document.body.clientHeight];
 }
 window.onresize = function() {
 document.getElementById("flashContainer").style.minWidth = flashWidth+"px";
 document.getElementById("flashContainer").style.minHeight =
flashHeight+"px";
 document.getElementById("flashContainer").style.width = size[0] <
flashWidth ? flashWidth+"px" : "100%";
 document.getElementById("flashContainer").style.height = size[1] <
flashHeight ? flashHeight+"px" : "100%";
 };
 window.onload = function(){
 window.onresize();
 }
 }
 var params = {};
 params.scale = "noscale";
 params.allowfullscreen = "true";
 params.allowscriptaccess = "always";
 params.wmode = "transparent";




 swfobject.embedSWF("index.swf", "flashMovie", "100%", "693",
"9.0.0","expressInstall.swf", false,params,false);


 setFlashSize(600,400); //set the minimum width and height of your Flash
movie


 //]]>
 </script>
 <script type="text/javascript">
 $(document).ready(function(){
 $('#flashContainer').CenterIt();
 });


 </script>




 </head>
 <body>


 <div id="flashContainer">
 <div id="flashMovie">
 <h1>Alternative flashMovie</h1>
 <p><a href="http://www.adobe.com/go/getflashplayer";><img src="
http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif";
alt="Get Adobe Flash player" /></a></p>
 </div>
 </div>


 </body>
</html>

-- 
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en.

Reply via email to