Skip navigation
Currently Being Moderated

screen resolution

Sep 19, 2007 12:20 PM

I want to add some functionality to my application which I want to base on the screen resolution of the machine running the application. Is there a way I can calculate the screen resolution in my flex application at runtime.
 
Replies
  • Currently Being Moderated
    Jun 22, 2012 2:54 AM   in reply to kilyas2007

    mx.core.FlexGlobals.topLevelApplication.width;

    mx.core.FlexGlobals.topLevelApplication.height;

     
    |
    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