[SWFObject] Firefox Percentage Problem
dieter orens
reddesertvandriver at gmail.com
Thu Oct 19 04:03:34 PDT 2006
I have solved this by using only the width as 100% and kept the fixed
height, probably not what you wanted, but it works in this way:
<style type="text/css">
<!--
*, html, body{margin:0; padding:0;}
body {
background:#FFFFFF;
}
#flashMovie{
position:relative;
width:100%;
height:650px;
}
-->
</style></head>
<body>
<div id="flashMovie"></div>
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("flashmovie.swf", "flashmovie", "100%",
"650", "7", "#660000");
so.write("flashMovie");
so.addParam("scale", "noscale");
// ]]>
</script>
</body>
</html>
Tim Woodward schreef:
> I am attempting to insert swf content @ 100% x 100% using the code :
>
> <script type="text/javascript">
> var fo = new SWFObject("test.swf", "test.swf", "100%", "100%",
> "8", "#000000");
> fo.write("flashcontent");
> </script>
>
> This displays correctly in OS X Safari, but in Firefox it appears as
> a mini centered version at the top of the page.
>
> Ideas ?
>
> Many Thanks.
>
> Tim Woodward.
>
>
>
>
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
>
>
More information about the Swfobject
mailing list