Stage object

Availability

Flash Player 6.

Description

The Stage object is a top-level object that you can access without using a constructor.

Use the methods and properties of this object to access and manipulate information about the boundaries of a Flash movie.

Method summary for the Stage object

Method Description
Stage.addListener() Adds a listener object to the Stage object.
Stage.removeListener() Removes a listener object from the Stage object.

Property summary for the Stage object

Property Description
Stage.align Alignment of the Flash movie in the browser.
Stage.height Height of the Stage, in pixels.
Stage.scaleMode The current scaling of the Flash movie.
Stage.showMenu Shows or hides the Flash Player context menu.
Stage.width Width of the Stage, in pixels.

Event handler summary for the Stage object

Event handler Description
Stage.onResize Indicates that the movie was resized.