EasyManua.ls Logo

MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE - Screenorientation (Capabilities.screenorientation Property); Screenresolutionx (Capabilities.screenresolutionx Property); Screenresolutiony (Capabilities.screenresolutiony Property)

MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE
780 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
318 ActionScript classes
Example
The following example traces the value of this read-only property:
trace(System.capabilities.screenOrientation);
screenResolutionX (capabilities.screenResolutionX
property)
public static screenResolutionX : Number [read-only]
An integer that indicates the maximum horizontal resolution of the screen. The server string is
R (which returns both the width and height of the screen).
Availability: ActionScript 1.0; Flash Lite 2.0
Example
The following example traces the value of this read-only property:
trace(System.capabilities.screenResolutionX);
screenResolutionY (capabilities.screenResolutionY
property)
public static screenResolutionY : Number [read-only]
An integer that indicates the maximum vertical resolution of the screen. The server string is R
(which returns both the width and height of the screen).
Availability: ActionScript 1.0; Flash Lite 2.0
Example
The following example traces the value of this read-only property:
trace(System.capabilities.screenResolutionY);
softKeyCount (capabilities.softKeyCount property)
public static softKeyCount : Number [read-only]
Indicates the number of remappable soft keys that the mobile device supports.
Availability: ActionScript 1.0; Flash Lite 2.0
Example
The following example traces the value of this read-only property:
trace(System.capabilities.softKeyCount);

Table of Contents

Related product manuals