ActionScript 2.0 Language Reference |
|
|
|
| ActionScript classes > Stage | |||
Object
|
+-Stage
public class Stage
extends Object
The Stage class is a top-level class whose methods, properties, and handlers you can access without using a constructor. Use the methods and properties of this class to access and manipulate information about the boundaries of a SWF file.
Availability: ActionScript 1.0; Flash Player 5 - (became a native object in Flash Player 6, which improved performance significantly).
|
Modifiers |
Property |
Description |
|---|---|---|
|
|
Indicates the current alignment of the SWF file in the player or browser. |
|
|
|
Sets Flash Player to play the movie in full-screen mode or to take Flash Player out of full-screen mode. |
|
|
|
Property (read-only); indicates the current height, in pixels, of the Stage. |
|
|
|
Indicates the current scaling of the SWF file within Flash Player. |
|
|
|
Specifies whether to show or hide the default items in the Flash Player context menu. |
|
|
|
Property (read-only); indicates the current width, in pixels, of the Stage. |
Properties inherited from class Object
constructor (Object.constructor property), __proto__ (Object.__proto__ property), prototype (Object.prototype property), __resolve (Object.__resolve property)
|
Event |
Description |
|---|---|
|
onFullScreen |
Invoked when the movie enters, or leaves, fullscreen mode. |
|
onResize |
Invoked when |
|
Modifiers |
Signature |
Description |
|---|---|---|
|
|
addListener |
Detects when a SWF file is resized (but only if |
|
|
removeListener |
Removes a listener object created with addListener(). |
Methods inherited from class Object
|
|
|
|