Package | flash.display |
Class | public final class StageOrientation |
Inheritance | StageOrientation Object |
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 2 |
orientation
property of the Stage
class. It also defines possible values for the following:
- The
orientation
parameter of thesetOrientation()
method of the Stage class - The
beforeOrientation
andafterOrientation
parameters of the StageOrientationEvent class
See also
flash.display.Stage.orientation
flash.display.Stage.setOrientation()
flash.events.StageOrientationEvent.afterOrientation
flash.events.StageOrientationEvent.beforeOrientation
flash.display.Stage.setOrientation()
flash.events.StageOrientationEvent.afterOrientation
flash.events.StageOrientationEvent.beforeOrientation
Public Properties
Public Methods
Public Constants
Constant | Defined By | ||
---|---|---|---|
DEFAULT : String = "default" [static]
Specifies that the stage is currently in the default orientation of the device (right-side up). | StageOrientation | ||
ROTATED_LEFT : String = "rotatedLeft" [static]
Specifies that the stage is currently rotated left relative to the default orientation of the device. | StageOrientation | ||
ROTATED_RIGHT : String = "rotatedRight" [static]
Specifies that the stage is currently rotated right relative to the default orientation of the device. | StageOrientation | ||
UNKNOWN : String = "unknown" [static]
Specifies that the device has not yet established an orientation. | StageOrientation | ||
UPSIDE_DOWN : String = "upsideDown" [static]
Specifies that the stage is currently upside down relative to the default orientation of the device. | StageOrientation |
Constant Detail
DEFAULT | Constant |
public static const DEFAULT:String = "default"
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 2 |
Specifies that the stage is currently in the default orientation of the device (right-side up).
ROTATED_LEFT | Constant |
public static const ROTATED_LEFT:String = "rotatedLeft"
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 2 |
Specifies that the stage is currently rotated left relative to the default orientation of the device.
ROTATED_RIGHT | Constant |
public static const ROTATED_RIGHT:String = "rotatedRight"
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 2 |
Specifies that the stage is currently rotated right relative to the default orientation of the device.
UNKNOWN | Constant |
public static const UNKNOWN:String = "unknown"
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 2 |
Specifies that the device has not yet established an orientation.
UPSIDE_DOWN | Constant |
public static const UPSIDE_DOWN:String = "upsideDown"
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 2 |
Specifies that the stage is currently upside down relative to the default orientation of the device.
Thu May 20 2010, 02:19 AM -07:00