MACROMEDIA FLEX-FLEX ACTIONSCRIPT LANGUAGE Reference page 438

Actionscript language reference
Table of Contents

Advertisement

Description
Read-only property; a number that indicates the dots-per-inch (dpi) resolution of the screen, in
pixels. The server string is
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
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
Example
The following example traces the value of this read-only property:
trace(System.capabilities.screenResolutionY);
438
Chapter 6: ActionScript Core Classes
.
DP
(which returns both the width and height of the screen).
R
(which returns both the width and height of the screen).

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLEX-FLEX ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

This manual is also suitable for:

Flex

Table of Contents