EasyManua.ls Logo

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE - Screenresolutionx (Capabilities.screenresolutionx Property); Screenresolutiony (Capabilities.screenresolutiony Property); Serverstring (Capabilities.serverstring Property)

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
1378 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...
416 ActionScript classes
Example
The following example traces the value of this read-only property:
trace(System.capabilities.screenDPI);
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 Player 6
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 Player 6
Example
The following example traces the value of this read-only property:
trace(System.capabilities.screenResolutionY);
serverString (capabilities.serverString property)
public static serverString : String [read-only]
A URL-encoded string that specifies values for each System.capabilities property.
The following example shows a URL-encoded string:
A=t&SA=t&SV=t&EV=t&MP3=t&AE=t&VE=t&ACC=f&PR=t&SP=t&
SB=f&DEB=t&V=WIN%208%2C0%2C0%2C0&M=Macromedia%20Windows&
R=1600x1200&DP=72&COL=color&AR=1.0&OS=Windows%20XP&

Table of Contents

Related product manuals