
capabilities.serverString Property
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
Alphabetical Language Reference
|
489
Bugs
In the first release of Macromedia’s documentation for Flash MX, this property is incor-
rectly listed as
System.capabilities.screenResolution.x. There should be no period before
the final
x, and the X should be capitalized.
See Also
capabilities.pixelAspectRatio, capabilities.screenDPI, capabilities.screenResolutionY,
Stage.width
capabilities.screenResolutionY Property
the height of the screen, in pixels
Flash 6
read/write
System.capabilities.screenResolutionY
Description
The integer screenResolutionY property returns the total height, in pixels, of the screen on
which the Flash Player is displayed. It is analogous to JavaScript’s
Screen.height property.
To retrieve the height of a movie’s Stage rather than the whole screen, use
Stage.height.
The corresponding server string for
screenResolutionY is R, with a possible value that
includes both the width and height of the screen, formatted as “
WIDTHxHEIGHT” (for
example, “800x600”). See
capabilities.screenResolutionX for an example that checks the
screen resolution.
Bugs
In the first release of Macromedia’s documentation for Flash MX, this property is incor-
rectly listed as
System.capabilities.screenResolution.y. There should be no period before
the final
y, and the Y should be ...