Apache – Detecting client screen resolution

apache-flex

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

Zee

Best Answer

//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.

Related Topic