1118
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).
Property summary
Properties inherited from class Object
Event summary
Modifiers
Property
Description
static
align
:String
Indicates the current alignment of the SWF file in the
player or browser.
static
height
:Number
Property (read-only); indicates the current height, in
pixels, of the Stage.
static
scaleMode
:String
Indicates the current scaling of the SWF file within
Flash Player.
static
showMenu
:Boolean
Specifies whether to show or hide the default items in
the Flash Player context menu.
static
width
:Number
Property (read-only); indicates the current width, in
pixels, of the Stage.
constructor (Object.constructor property)
,
__proto__ (Object.__proto__
property)
,
prototype (Object.prototype property)
,
__resolve
(Object.__resolve property)
Event
Description
onResize
=
function() {}
Invoked when
Stage.scaleMode
is set to noScale and the SWF file is
resized.
Summary of Contents for FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
Page 1: ...ActionScript 2 0 Language Reference ...
Page 1352: ...1352 ActionScript classes ...