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
Method
Stage.addListener()
Stage.removeListener()
Property summary for the Stage class
Property
Stage.align
Stage.height
Stage.scaleMode
Stage.showMenu
Stage.width
Event handler summary for the Stage class
Event handler
Stage.onResize
ActionScript Language Reference
Description
Adds a listener object that detects when a SWF
Removes a listener object from the Stage object.
Description
Alignment of the SWF file in the player or browser.
Height of the Stage, in pixels.
The current scaling of the SWF file.
Shows or hides the default items in the Flash Player context menu.
Width of the Stage, in pixels.
Description
Invoked when
Stage.scaleMode
resized.
file
is resized.
is set to
" and the SWF file is
"noScale
CHAPTER 2
Stage class
777
Need help?
Do you have a question about the FLASH MX 2004-ACTIONSCRIPT LANGUAGE and is the answer not in the manual?