Package | flash.display |
Class | public final class StageScaleMode |
Inheritance | StageScaleMode ![]() |
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Lite 4 |
Stage.scaleMode
property.
More examples
Related API Elements
Property | Defined By | ||
---|---|---|---|
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance. | Object |
Method | Defined By | ||
---|---|---|---|
![]() |
Indicates whether an object has a specified property defined. | Object | |
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | |
![]() |
Indicates whether the specified property exists and is enumerable. | Object | |
![]() |
Sets the availability of a dynamic property for loop operations. | Object | |
![]() |
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | |
![]() |
Returns the string representation of the specified object. | Object | |
![]() |
Returns the primitive value of the specified object. | Object |
Constant | Defined 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 |
EXACT_FIT | Constant |
public static const EXACT_FIT:String = "exactFit"
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Lite 4 |
Specifies that the entire application be visible in the specified area without trying to preserve the original aspect ratio. Distortion can occur.
NO_BORDER | Constant |
public static const NO_BORDER:String = "noBorder"
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Lite 4 |
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_SCALE | Constant |
public static const NO_SCALE:String = "noScale"
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Lite 4 |
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_ALL | Constant |
public static const SHOW_ALL:String = "showAll"
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Lite 4 |
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.
Thu Dec 4 2014, 05:50 PM -08:00