User Guide
capabilities (System.capabilities) 415
Example
The following example traces the value of this read-only property:
trace(System.capabilities.pixelAspectRatio);
playerType (capabilities.playerType property)
public static playerType : String [read-only]
A string that indicates the type of player. This property can have one of the following values:
■ "StandAlone" for the Flash StandAlone Player
■ "External" for the Flash Player version used by the external player, or test movie mode..
■ "PlugIn" for the Flash Player browser plug-in
■ "ActiveX" for the Flash Player ActiveX Control used by Microsoft Internet Explorer
The server string is
PT.
Availability: ActionScript 1.0; Flash Player 7
Example
The following example traces the value of this read-only property:
trace(System.capabilities.playerType);
screenColor (capabilities.screenColor property)
public static screenColor : String [read-only]
A string that indicates the screen color. This property can have the value "color", "gray" or
"
bw", which represents color, grayscale, and black and white, respectively. The server string is
COL.
Availability: ActionScript 1.0; Flash Player 6
Example
The following example traces the value of this read-only property:
trace(System.capabilities.screenColor);
screenDPI (capabilities.screenDPI property)
public static screenDPI : Number [read-only]
A number that indicates the dots-per-inch (dpi) resolution of the screen, in pixels. The server
string is
DP.
Availability: ActionScript 1.0; Flash Player 6