October 2005
Intermediate to advanced
1376 pages
27h 40m
English
Object
|
+-Key
public class Key
extends ObjectThe Key class is a top-level class whose methods and properties you can use without a constructor. Use the methods of the Key class to build an interface that can be controlled by a user with a standard keyboard. The properties of the Key class are constants representing the keys most commonly used to control applications, such as Arrow keys, Page Up, and Page Down.
A Flash application can only monitor keyboard events that occur within its focus. A Flash application cannot detect keyboard events in another application.
Availability: ActionScript 1.0; Flash Player 6
Property summary
| Modifiers | Property | Description |
|---|---|---|
| static | BACKSPACE:Number | The key code value for the Backspace key (8). |
| static | CAPSLOCK:Number ... |
Read now
Unlock full access