Flash Advisor logo
:: Desktop Shortcut
:: Flash Help
Advice from Experts

Closed Thread
Results 1 to 3 of 3

Thread: HELP WITH SCALING FLASH WITHIN BROWSERS!!

  1. #1

    Default HELP WITH SCALING FLASH WITHIN BROWSERS!!

    When publishing a flash MX movie using Autofit i.e. (width 100% height 100%) the movie works correctly when viewed with MS Internet Explorer, however when viewing the published document on other web browsers such as Mozilla Firefox and Netscape the movie does not scale to fill the screen but displays at very reduced dimensions.

    Is there any way to work around this problem and to insure compatibility across other web browsers?

  2. #2
    Join Date
    May 2004
    Location
    U.S.A.
    Posts
    2,890

    Default

    Hi,

    In the case of firefox one of the features of it's strict rendering mode is that it works out percentage values exactly as the spec tells it to. That is any percentage must be calculated based on the size of the containing element. Since none of the elements that contain the flash movie have been given a size this calculation doesn't give the expected result (the size of the body of the page is not the size of the viewport)

    You can fix this by adding this CSS,


    Code:
    <style type="text/css">
    html, body &#123;
      margin&#58; 0; padding&#58; 0;
      width&#58; 100%; height&#58; 100%;
    &#125;
    </style>
    Untested
    A mind once stretched by a new idea never regains its original dimensions.
    - Oliver Wendell Holmes

  3. #3

    Default

    You are a saint!! that worked! many thank you's!

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Works with my mac browsers but...
    By cruzer in forum Flash - ServerSide
    Replies: 2
    Last Post: 05-22-2009, 01:39 PM
  2. Works with my mac browsers but...
    By cruzer in forum Flash - ServerSide
    Replies: 1
    Last Post: 05-20-2005, 01:50 PM
  3. Replies: 4
    Last Post: 09-29-2004, 07:38 PM
  4. Flash 5 compatibility w/ current web browsers? Flash 5 comp
    By spiderlily409 in forum General Flash
    Replies: 3
    Last Post: 07-15-2004, 12:49 PM

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