Results 1 to 2 of 2

Thread: SWF embeds weird on firefox

  1. #1
    Join Date
    Sep 2009
    Posts
    3

    SWF embeds weird on firefox

    Hi

    I embeded a swf to a html.
    It loads fine in safari but when in firefox it doesn't embed correctly.
    what can be the problem here?

    website link

    try opening it in firefox
    everythig is squashed to the top.

    thank you in advance.

    this is my code.

    ---

    Code:
    <body marginwidth="0" marginheight="0" bgcolor="#ffffff" scroll="no" onresize="rePositionStage();" topmargin="0" leftmargin="0">
    
    <object id="base" width="100%" height="100%" align="" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000">
    
    <param value="main.swf" name="movie"/>
    <param value="#FFFFFF" name="bgcolor"/>
    <embed width="100%" height="100%" align="" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="base" bgcolor="#FFFFFF" src="main.swf"/>
    
    </object>
    
    <div style="visibility: hidden;">
    <img border="0" align="absmiddle" src="http://stats.be.com.sg/stats2/stats.cfm?id=strp"/>
    </div>
    
    
    </body>

  2. #2
    Join Date
    Apr 2009
    Location
    The toon
    Posts
    1,225
    you should have your flash movie in a container div and position that where you want it in the page using CSS

    I can see that you have some inline styles in the <body tag.

    You should steer the design using an external CSS style sheet.

    Also you have a height attribute using % on your <object tag. Im not sure if this is valid. I think you have to define the dimensions in flash to get the best results. Using % will stretch and warp your movie on different screen sizes

Similar Threads

  1. Firefox Display Problems (Reward Offered For Solution)
    By isaac2450 in forum Web Design, HTML Reference and CSS
    Replies: 1
    Last Post: 24 Apr 2008, 10:26 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •