User Guide

318 ActionScript classes
Example
The following example traces the value of this read-only property:
trace(System.capabilities.screenOrientation);
screenResolutionX (capabilities.screenResolutionX
property)
public static screenResolutionX : Number [read-only]
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).
Availability: ActionScript 1.0; Flash Lite 2.0
Example
The following example traces the value of this read-only property:
trace(System.capabilities.screenResolutionX);
screenResolutionY (capabilities.screenResolutionY
property)
public static screenResolutionY : Number [read-only]
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).
Availability: ActionScript 1.0; Flash Lite 2.0
Example
The following example traces the value of this read-only property:
trace(System.capabilities.screenResolutionY);
softKeyCount (capabilities.softKeyCount property)
public static softKeyCount : Number [read-only]
Indicates the number of remappable soft keys that the mobile device supports.
Availability: ActionScript 1.0; Flash Lite 2.0
Example
The following example traces the value of this read-only property:
trace(System.capabilities.softKeyCount);