firefox displaying .swf with wrong dimensions

Posted by John Leonard on Stack Overflow See other posts from Stack Overflow or by John Leonard
Published on 2010-05-13T02:28:24Z Indexed on 2010/05/13 2:34 UTC
Read the original article Hit count: 329

Filed under:
|
|

I can't figure this one out.

I have a flex app with fixed dimensions (950 x 700). I'm compiling the swf and using the default wrapper that flex generates.

  1. in some instances of Firefox, the dimensions are wrong.
  2. On top of that, with different domains, I get the .swf rendered with different dimensions (both wrong).
  3. Firefox 3.6.3 on one computer works fine. On another, the dimensions are off.

Swf example

and if you don't see a clipped swf...here are the screenshots.

Rendered incorrectly on one domain

And rendered in another domain with different bad dimensions.

I'm at a total loss. When I embed the .swf with swfobject, I get the same issue. In the example you see, there's nothing in the app except for a single label centered on the stage.

© Stack Overflow or respective owner

Related posts about flex

Related posts about dimensions