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).

Property summary

ModifiersPropertyDescription
staticalign:StringIndicates the current alignment of the SWF file in the player or browser.
staticheight:NumberProperty (read-only); indicates the current height, in pixels, of the Stage.
staticscaleMode:StringIndicates the current scaling of the SWF file within Flash Player. ...

Get ActionScript 2.0 Language Reference for Macromedia® Flash® 8 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.