Packageflash.display
Classpublic final class StageScaleMode
InheritanceStageScaleMode Inheritance Object

Language version: ActionScript 3.0
Runtime version: 

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

See also

flash.display.Stage.scaleMode


Public Properties
 PropertyDefined by
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
Public Methods
 MethodDefined by
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
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
  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 version: 

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 version: 

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 version: 

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 version: 

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.