03.05.2013 Views

ActionScript 2.0 Language Reference - Adobe Help and Support

ActionScript 2.0 Language Reference - Adobe Help and Support

ActionScript 2.0 Language Reference - Adobe Help and Support

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

playerType (capabilities.playerType property)<br />

public static playerType : String [read-only]<br />

A string that indicates the type of player. This property can have one of the following values:<br />

■ "St<strong>and</strong>Alone" for the Flash St<strong>and</strong>Alone Player<br />

■ "External" for the Flash Player version used by the external player, or test movie mode..<br />

■ "PlugIn" for the Flash Player browser plug-in<br />

■ "ActiveX" for the Flash Player ActiveX Control used by Microsoft Internet Explorer<br />

The server string is PT.<br />

Availability: <strong>ActionScript</strong> 1.0; Flash Player 7<br />

Example<br />

The following example traces the value of this read-only property:<br />

trace(System.capabilities.playerType);<br />

screenColor (capabilities.screenColor property)<br />

public static screenColor : String [read-only]<br />

A string that indicates the screen color. This property can have the value "color", "gray" or<br />

"bw", which represents color, grayscale, <strong>and</strong> black <strong>and</strong> white, respectively. The server string is<br />

COL.<br />

Availability: <strong>ActionScript</strong> 1.0; Flash Player 6<br />

Example<br />

The following example traces the value of this read-only property:<br />

trace(System.capabilities.screenColor);<br />

screenDPI (capabilities.screenDPI property)<br />

public static screenDPI : Number [read-only]<br />

A number that indicates the dots-per-inch (dpi) resolution of the screen, in pixels. The server<br />

string is DP.<br />

Availability: <strong>ActionScript</strong> 1.0; Flash Player 6<br />

Example<br />

The following example traces the value of this read-only property:<br />

trace(System.capabilities.screenDPI);<br />

422 <strong>ActionScript</strong> classes

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!