Not getting stage.stageWidth and stageHeight on Firefox 3.5

Posted by Qpixo on Stack Overflow See other posts from Stack Overflow or by Qpixo
Published on 2010-05-31T16:04:03Z Indexed on 2010/06/06 8:22 UTC
Read the original article Hit count: 336

Filed under:
|
|

Here's a problem that I've been tried to figure out but still couldn't get the right method to fix it yet.

I'm having issue regarding the display when using Firefox 3.5 on MAC, I can see my menu and the display is correct. The menu just position above what it supposed to be positioned. It works fine with Safari on MACOSX. My flash size is: 1440x750

It looks like Firefox can't recognize stage.StageWidth and stage.StageHeight. It returns 0.

Some suggest implementing was to pass in the actual width and height of movie via FlashVars. The movie uses these instead of stage.stageWidth and stage.stageHeight

Does anyone have an example of code of how to fix that issue?? Appreciated to point me out the right way

© Stack Overflow or respective owner

Related posts about flash

Related posts about firefox