03.05.2013 Views

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - 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.

Possible values for screenOrientation property:<br />

■ normal the screen is in its normal orientation<br />

■ rotated90 the screen is rotated by 90 degrees<br />

■ rotated180 the screen is rotated by 180 degrees<br />

■ rotated270 the screen is rotated by 270 degrees<br />

Example<br />

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

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

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 />

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 />

Example<br />

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

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

296 ActionScript classes

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

Saved successfully!

Ooh no, something went wrong!