Language version: | ActionScript 3.0 |
The StageOrientation class defines constants enumerating the possible orientations of the stage and the device.
public static const DEFAULT:String = "default"
Language version: | ActionScript 3.0 |
Specifies that the stage is currently in the default orientation of the device (right-side up).
public static const ROTATED_LEFT:String = "rotatedLeft"
Language version: | ActionScript 3.0 |
Specifies that the stage is currently rotated left relative to the default orientation.
Note: When the orientation of the device is rotated left, the orientation of the
stage must be rotated right in order to remain upright.
public static const ROTATED_RIGHT:String = "rotatedRight"
Language version: | ActionScript 3.0 |
Specifies that the stage is currently rotated right relative to the default orientation.
Note: When the orientation of the device is rotated right, the orientation of the
stage must be rotated left in order to remain upright.
public static const UNKNOWN:String
Language version: | ActionScript 3.0 |
Specifies that the device has not determined an orientation. This state can occur when
the device is lying flat on a table and also while the application is initializing.
public static const UPSIDE_DOWN:String = "upsideDown"
Language version: | ActionScript 3.0 |
Specifies that the stage is currently upside down relative to the default orientation.
© 2004-2022 Adobe Systems Incorporated. All rights reserved.
Wed Sep 28 2022, 6:12 PM GMT+01:00