Table of Contents

capabilities.screenResolutionY Property Flash 6

the height of the screen, in pixels 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 incorrectly listed as System.capabilities.screenResolution.y. There should be no period before the final y, and the Y should be capitalized.

See Also

capabilities.pixelAspectRatio, capabilities.screenDPI, capabilities.screenResolutionX, Stage.height


Table of Contents