Packageflash.display
Classpublic final class StageScaleMode
InheritanceStageScaleMode Inheritance Object

Language Version : ActionScript 3.0
Runtime Versions : Flash Player 9, AIR 1.0

The StageScaleMode class provides values for the Stage.scaleMode property.

See also

flash.display.Stage.scaleMode
Stage scaling


Public Methods
 MethodDefined By
 Inherited
_init():*
[static]
_init
 Inherited
AS3
 Inherited
init():*
[static]
init
 Inherited
AS3
 Inherited
AS3
Protected Methods
 MethodDefined By
 Inherited
[static]
protected
 Inherited
_setPropertyIsEnumerable(o:*, V:String, enumerable:Boolean):void
[static]
protected
Public Constants
 ConstantDefined By
  EXACT_FIT : String = "exactFit"
[static] Specifies that the entire application be visible in the specified area without trying to preserve the original aspect ratio.
StageScaleMode
 Inheritedlength : int = 1
[static]
length
  NO_BORDER : String = "noBorder"
[static] Specifies that the entire application fill the specified area, without distortion but possibly with some cropping, while maintaining the original aspect ratio of the application.
StageScaleMode
  NO_SCALE : String = "noScale"
[static] Specifies that the size of the application be fixed, so that it remains unchanged even as the size of the player window changes.
StageScaleMode
  SHOW_ALL : String = "showAll"
[static] Specifies that the entire application be visible in the specified area without distortion while maintaining the original aspect ratio of the application.
StageScaleMode
Constant Detail
EXACT_FITConstant
public static const EXACT_FIT:String = "exactFit"

Language Version : ActionScript 3.0
Runtime Versions : Flash Player 9, AIR 1.0

Specifies that the entire application be visible in the specified area without trying to preserve the original aspect ratio. Distortion can occur.

NO_BORDERConstant 
public static const NO_BORDER:String = "noBorder"

Language Version : ActionScript 3.0
Runtime Versions : Flash Player 9, AIR 1.0

Specifies that the entire application fill the specified area, without distortion but possibly with some cropping, while maintaining the original aspect ratio of the application.

NO_SCALEConstant 
public static const NO_SCALE:String = "noScale"

Language Version : ActionScript 3.0
Runtime Versions : Flash Player 9, AIR 1.0

Specifies that the size of the application be fixed, so that it remains unchanged even as the size of the player window changes. Cropping might occur if the player window is smaller than the content.

SHOW_ALLConstant 
public static const SHOW_ALL:String = "showAll"

Language Version : ActionScript 3.0
Runtime Versions : Flash Player 9, AIR 1.0

Specifies that the entire application be visible in the specified area without distortion while maintaining the original aspect ratio of the application. Borders can appear on two sides of the application.