Playertype (Capabilities.playertype Property); Screencolor (Capabilities.screencolor Property); Screendpi (Capabilities.screendpi Property) - MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference

Actionscript 2.0 language reference
Table of Contents

Advertisement

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:
for the Flash StandAlone Player
"StandAlone"
for the Flash Player version used by the external player, or test movie mode..
"External"
for the Flash Player browser plug-in
"PlugIn"
for the Flash Player ActiveX Control used by Microsoft Internet Explorer
"ActiveX"
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 "
"
", which represents color, grayscale, and black and white, respectively. The server string is
bw
.
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
.
color
capabilities (System.capabilities)
", "
" or
gray
415

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents

Save PDF