Skip navigation
Currently Being Moderated

Get Browser Width & Height

Feb 9, 2013 1:13 AM


I need to develope an RIA application which needs browser width and height. I am able to get it in .mxml file.

But when I am trying to get it in .as file I am getting error. I am using systemManager.stage.stageWidth &

systemManager.stage.stageHeight for getting width & height in .mxml file. When I am using the same in .as

I am getting error. Please reply if any of you have solution for this.

Thank you.

  • Currently Being Moderated
    Feb 9, 2013 7:24 AM   in reply to Yuvayu

    What does your AS look like?  Is it referenced from MXML or an AS-only application.  If the latter, there is no systemManager, just access stage.stageWIdth/stageHeight.

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points