1120
ActionScript classes
stageListener.onResize = function() {
stageSize_txt.text = "w:"+Stage.width+", h:"+Stage.height;
};
Stage.scaleMode = "noScale";
Stage.addListener(stageListener);
See also
onResize (Stage.onResize event listener)
,
removeListener
(Stage.removeListener method)
align (Stage.align property)
public static align : String
Indicates the current alignment of the SWF file in the player or browser.
The following table lists the values for the
align
property. Any value not listed here centers
the SWF file in Flash player or browser area, which is the default setting.
Availability:
ActionScript 1.0; Flash Player 6
Value
Vertical
Horizontal
"T"
top
center
"B"
bottom
center
"L"
center
left
"R"
center
right
"TL"
top
left
"TR"
top
right
"BL"
bottom
left
"BR"
bottom
right
Summary of Contents for FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
Page 1: ...ActionScript 2 0 Language Reference ...
Page 1352: ...1352 ActionScript classes ...