Flash 8 Documentation |
|||
| 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 |
|---|---|---|
|
|
align |
Indicates the current alignment of the SWF file in the player or browser. |
|
|
height |
Property (read-only); indicates the current height, in pixels, of the Stage. |
|
|
scaleMode |
Indicates the current scaling of the SWF file within Flash Player. |
|
|
showMenu |
Specifies whether to show or hide the default items in the Flash Player context menu. |
|
|
width |
Property (read-only); indicates the current width, in pixels, of the Stage. |
Properties inherited from class Object
|
Event |
Description |
|---|---|
|
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 addProperty, hasOwnProperty, isPropertyEnumerable, isPrototypeOf, registerClass, toString, unwatch, valueOf, watch
Version 8
RSS feed | Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/8/main/00002688.html
Comments
No screen name said on Sep 12, 2006 at 10:09 AM : mijlee28 said on Jul 17, 2007 at 3:33 AM : No screen name said on May 25, 2008 at 4:15 AM :