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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

screenResolutionX (capabilities.screenResolutionX<br />

property)<br />

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

An integer that indicates the maximum horizontal resolution of the screen. The server string is<br />

R (which returns both the width <strong>and</strong> height of the screen).<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.screenResolutionX);<br />

screenResolutionY (capabilities.screenResolutionY<br />

property)<br />

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

An integer that indicates the maximum vertical resolution of the screen. The server string is R<br />

(which returns both the width <strong>and</strong> height of the screen).<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.screenResolutionY);<br />

serverString (capabilities.serverString property)<br />

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

A URL-encoded string that specifies values for each System.capabilities property.<br />

The following example shows a URL-encoded string:<br />

A=t&SA=t&SV=t&EV=t&MP3=t&AE=t&VE=t&ACC=f&PR=t&SP=t&<br />

SB=f&DEB=t&V=WIN%208%2C0%2C0%2C0&M=Macromedia%20Windows&<br />

R=1600x1200&DP=72&COL=color&AR=1.0&OS=Windows%20XP&<br />

L=en&PT=External&AVD=f&LFD=f&WD=f<br />

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

capabilities (System.capabilities) 423

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

Saved successfully!

Ooh no, something went wrong!