Language Version : ActionScript 3.0
Runtime Versions : Flash Player 10, AIR 1.5
The NavigationUnit class defines the possible values for the
getVerticalScrollPositionDelta()
and
getHorizontalScrollPositionDelta()
methods of the IViewport class.
All of these constants have the same values as their flash.ui.Keyboard
counterparts, except PAGE_LEFT and PAGE_RIGHT, for which no keyboard
key equivalents exist.
public static function isNavigationUnit(keyCode:uint):Boolean
Language Version : ActionScript 3.0
Runtime Versions : Flash Player 10, AIR 1.5
Returns true
if the keyCode
maps directly
to a NavigationUnit enum value.
Parameters
keyCode :uint
— A key code value.
Returns Boolean
— true
if the keyCode
maps directly
to a NavigationUnit enum value.
public static const DOWN:uint = 40.0
Language Version : ActionScript 3.0
Runtime Versions : Flash Player 10, AIR 1.5
Navigate one line or "step" downwards.
public static const END:uint = 35.0
Language Version : ActionScript 3.0
Runtime Versions : Flash Player 10, AIR 1.5
Navigate to the end of the document.
public static const HOME:uint = 36.0
Language Version : ActionScript 3.0
Runtime Versions : Flash Player 10, AIR 1.5
Navigate to the origin of the document.
public static const LEFT:uint = 37.0
Language Version : ActionScript 3.0
Runtime Versions : Flash Player 10, AIR 1.5
Navigate one line or "step" to the left.
public static const PAGE_DOWN:uint = 34.0
Language Version : ActionScript 3.0
Runtime Versions : Flash Player 10, AIR 1.5
Navigate one page downwards.
public static const PAGE_LEFT:uint = 0x2397
Language Version : ActionScript 3.0
Runtime Versions : Flash Player 10, AIR 1.5
Navigate one page to the left.
The value of this constant, 0x2397, is the same as the Unicode
"previous page" character.
public static const PAGE_RIGHT:uint = 0x2398
Language Version : ActionScript 3.0
Runtime Versions : Flash Player 10, AIR 1.5
Navigate one page to the right.
The value of this constant, 0x2398, is the same as the Unicode
"next page" character.
public static const PAGE_UP:uint = 33.0
Language Version : ActionScript 3.0
Runtime Versions : Flash Player 10, AIR 1.5
Navigate one page upwards.
public static const RIGHT:uint = 39.0
Language Version : ActionScript 3.0
Runtime Versions : Flash Player 10, AIR 1.5
Navigate one line or "step" to the right.
public static const UP:uint = 38.0
Language Version : ActionScript 3.0
Runtime Versions : Flash Player 10, AIR 1.5
Navigate one line or "step" upwards.
The Apache Software Foundation Wed Mar 25 2015, 07:57 PM +01:00