O'Reilly logo

ActionScript 2.0 Language Reference for Macromedia® Flash® 8 by Shimul Rahim, Robert L. Dixon, Jen deHaan, Francis Cheng

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required