How can i detect my client's screen resolution .. in Flex??
Zee
//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.
Capabilities.screenResolutionX;
Capabilities.screenResolutionY;
Here is the documentation on the Capabilities class, and all of the various information that can be acquired.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With