User Guide
438 Chapter 6: ActionScript Core Classes
Description
Read-only property; a number that indicates the dots-per-inch (dpi) resolution of the screen, in
pixels. The server string is
DP.
Example
The following example traces the value of this read-only property:
trace(System.capabilities.screenDPI);
System.capabilities.screenResolutionX
Availability
Flash Player 6.
Usage
System.capabilities.screenResolutionX:Number
Description
Read-only property; an integer that indicates the maximum horizontal resolution of the screen.
The server string is
R (which returns both the width and height of the screen).
Example
The following example traces the value of this read-only property:
trace(System.capabilities.screenResolutionX);
System.capabilities.screenResolutionY
Availability
Flash Player 6.
Usage
System.capabilities.screenResolutionY:Number
Description
Read-only property; an integer that indicates the maximum vertical resolution of the screen. The
server string is
R (which returns both the width and height of the screen).
Example
The following example traces the value of this read-only property:
trace(System.capabilities.screenResolutionY);