[SWFObject] Firefox Percentage Problem

Tim Woodward rathermarvellous at hotmail.com
Fri Oct 20 06:02:57 PDT 2006


Many Thanks for that.  Working perfectly now...


On 19 Oct 2006, at 13:42, Rostislav Hristov wrote:

> Try this template:
> http://blog.deconcept.com/code/swfobject2.0/fullpage.html
>
> The catch in Mozilla is that you have to specify 100% height the  
> html tag.
>
>
> On 10/19/06, dieter orens <reddesertvandriver at gmail.com> wrote:
>> 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
>>>
>>>
>> _______________________________________________
>> SWFObject mailing list
>> SWFObject at lists.deconcept.com
>> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
>>
>
>
> -- 
> EnFlash - It's all about features...
> http://www.asual.com/enflash/
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com






More information about the Swfobject mailing list