Skip to main content
November 18, 2007
Question

the size of the browser window

  • November 18, 2007
  • 1 reply
  • 231 views
How can I know the size of the browser window?
This topic has been closed for replies.

1 reply

Inspiring
November 18, 2007
You can get screen resolution directly in flash, but for the browser you would have to use ExternalInterface to get the information from javascript and return it to flash.
November 18, 2007
I have never used ExternalInterface, and I dont know js, I tried to learn how to do that, but it seems very complicated for me. If someone has a link, or can write the code it will be a great help.
I just want to know the size of the window of the browser (without rulers or status line) at the first moment, i dont need to get this data every time the window is resized.