tags:

views:

76

answers:

2

How can i detect my client's screen resolution .. in Flex??

Zee

+5  A: 
//To know horizontal-screen-resolution
var screenResolutionX:Number = Capabilities.screenResolutionX;

//To know vertical screen-resolution
var screenResolutionY:Number = Capabilities.screenResolutionY;

Here's more info on the Capabilities API.

Joseph
+1  A: 
Capabilities.screenResolutionX;
Capabilities.screenResolutionY;

Here is the documentation on the Capabilities class, and all of the various information that can be acquired.

Joel Hooks