EasyManua.ls Logo

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT - Page 644

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...
644 Chapter 12: ActionScript Dictionary
Stage.scaleMode
Availability
Flash Player 6.
Usage
Stage.scaleMode = "value"
Description
Property; indicates the current scaling of the SWF file within the Stage. The scaleMode property
forces the SWF file into a specific scaling mode. By default, the SWF file uses the HTML
parameters set in the Publish Settings dialog box.
The
scaleMode property can use the values "exactFit", "showAll", "noBorder", and
"noScale". Any other value sets the scaleMode property to the default "showAll".
Stage.showMenu
Availability
Flash Player 6.
Usage
Stage.showMenu
Description
Property (read-write); specifies whether to show or hide the default items in the Flash Player
context menu. If
showMenu is set to true (the default), all context menu items appear. If
showMenu is set to false, only the Settings item appears.
See also
ContextMenu class, ContextMenuItem class
Stage.width
Availability
Flash Player 6.
Usage
Stage.width
Description
Property (read-only); indicates the current width, in pixels, of the Stage. When the value of
Stage.scaleMode is "noScale", the width property represents the width of the player. When
the value of
Stage.scaleMode is not "noScale", width represents the width of the SWF file.
See also
Stage.align, Stage.height, Stage.scaleMode

Table of Contents

Related product manuals