Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Firefox shrinking flash file

  1. #1
    Join Date
    May 2008
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Firefox shrinking flash file

    Hi All, Firstly I want to say a big thank you because all of the thread keepers have managed to help me build my very first flash website for charity. Way cool. My only problem is that the website works great in explorer and safari but it shrinks it in Firefox. Can anyone help me with this? www.celebratesafely.com.au is the website. Cheers

  2. #2
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Hey Maebesso,

    I don't really know that embed code. It might be the Flash 8 default embed code, but I usually don't use it because it always gives me troubles.

    You should use SWFObject to embed your flash. It'll get rid of a whole host of issues with embedding flash.

  3. #3
    Join Date
    Dec 2007
    Location
    Mississauga
    Posts
    166
    Thanks
    13
    Thanked 0 Times in 0 Posts

    Default

    wow your index page looks like it has a lot of code in there that is messing things up in FireFox.

    If you have DreamWeaver try embedding the swf file in there and the new version of DreamWeaver CS3 saves your pages with the automatic js code to pass the activeX control issues. But for now for this site try using this as your index page.

    HTML Code:
    <html lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Celebrate Safely</title>
    <style type="text/css">
    <!--
    body {
    	margin-left: 0px;
    	margin-top: 0px;
    	margin-right: 0px;
    	margin-bottom: 0px;
    	background-color: #000000;
    }
    -->
    </style>
    <script src="swfobject.js" type="text/javascript"></script>
    </head>
    
    <body>
    <table width="750" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="750"><script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','750','height','1100','src','index','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','index' ); //end AC code
    </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="750" height="1100">
          <param name="movie" value="index.swf" />
          <param name="quality" value="high" />
          <embed src="index.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="750" height="1100"></embed>
        </object></noscript></td>
      </tr>
    </table>
    </body>
    </html>
    Save the SWFObject file Medyman was talking about and upload it to the directory your index.html and swf file are located.

    Hope that helps.

  4. #4
    Join Date
    Jun 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Help with code please firefox flash problem

    ca anyone suggest any changes to code in an html file that shows a flash intro so that it actually displays in firefox, here is the code:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Mr Stephen Hairdressing - Bournemouth</title>
    <link href="style.css" rel="stylesheet" type="text/css">

    <style type="text/css">
    <!--
    body {
    background-color: #412615;
    }
    -->
    </style></head>

    <BODY>
    <center>
    <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
    width="747" height="797">
    <param name="movie" value="flash/intro8_cs_b3.swf">
    <param name="quality" value="high">
    <param name="menu" value="false">
    <param name="wmode" value="transparent">
    <!--[if !IE]> <-->
    <object data="flash/main1.swf"
    width="747" height="797" type="application/x-shockwave-flash">
    <param name="quality" value="high">
    <param name="menu" value="false">
    <param name="wmode" value="transparent">
    <param name="pluginurl" value="http://www.macromedia.com/go/getflashplayer">
    FAIL (the browser should render some flash content, not this).
    </object>
    <!--> <![endif]-->
    </object></center>
    </BODY>
    </HTML>
    The site is here:
    http://www.mrstephen.co.uk

    Many thanks for any help
    regards steve

  5. #5
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Use SWFObject for a cross-browser javascript-based solution. I've linked to it in my last post in this thread.

  6. #6
    Join Date
    Jun 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi
    Thanks but not sure what im doing wrong but nothing displays when testing here: http://www.mrstephen.co.uk/index_2.html

    Code:
    <script type="text/javascript">
       var so = new SWFObject("movie.swf", "intro8_cs_b3.swf", "747", "100%", "797", "#412615");
       so.addParam("quality", "high");
       so.addParam("wmode", "transparent");
       so.addParam("salign", "t");
       so.write("flashcontent");
    </script>

  7. #7
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    You need a lot more than just THAT code to get the page to work.

    You don't have any HTML markup on that page.

    Have a look at the documentation for a full set of instructions.

  8. #8
    Join Date
    Jun 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    OK Done that and firefox still displays the second part under "alternative content" and does not load the flash??

  9. #9
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Did you include a link to the external .js file in your <head> section? Do you have javascript turned on?

  10. #10
    Join Date
    Jun 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Working, but white area on flash now

    Hi
    here is the 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>Mr Stephen Hairdressing - Bournemouth</title>
    <link href="style.css" rel="stylesheet" type="text/css">

    <style type="text/css">
    <!--
    body {
    background-color: #412615;
    }
    -->
    </style>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    </head>
    <body>
    <center>
    <div>
    <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" width="747" height="797">
    <param name="movie" value="flash/intro8_cs_b4.swf" />
    <!--[if !IE]>-->
    <object type="application/x-shockwave-flash" data="flash/intro8_cs_b4.swf" width="747" height="797">
    <!--<![endif]-->
    <p>Install Flash Player</p>
    <!--[if !IE]>-->
    </object>
    <!--<![endif]-->
    </object>
    </div>
    </body></html>


    It seems to display in firefox now as long as flash is installed BUT now i have a white area that hangs around till it changes colour to the brown far longer. Is there anything i can do about this?

    http://mrstephen.co.uk/index_2.html

    Thank you

Bookmarks

Posting Permissions

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