EasyManua.ls Logo

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT - Stage Class

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT
816 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
640 Chapter 12: ActionScript Dictionary
Stage class
Availability
Flash Player 6.
Description
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.
Method summary for the Stage class
Property summary for the Stage class
Event handler summary for the Stage class
Method Description
Stage.addListener() Adds a listener object that detects when a SWF file is resized.
Stage.removeListener() Removes a listener object from the Stage object.
Property Description
Stage.align Alignment of the SWF file in the player or browser.
Stage.height Height of the Stage, in pixels.
Stage.scaleMode The current scaling of the SWF file.
Stage.showMenu Shows or hides the default items in the Flash Player context menu.
Stage.width Width of the Stage, in pixels.
Event handler Description
Stage.onResize Invoked when Stage.scaleMode is set to "noScale" and the SWF file is
resized.

Table of Contents

Related product manuals