Client Screen Resolution Detection

How can I determine client screen resolution .. in Flex ??

Zee

+3
source share
2 answers
//To know horizontal-screen-resolution
var screenResolutionX:Number = Capabilities.screenResolutionX;

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

Learn more about feature APIs .

+8
source
Capabilities.screenResolutionX;
Capabilities.screenResolutionY;

Here is the documentation on the Capabilities class and all the information you can get.

+2
source

Source: https://habr.com/ru/post/1720922/


All Articles