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".