1 2 3 4 5 6 7 8 9 10 11 12 13 14
|
package flash.events;
extern class KeyboardEvent extends Event {
var altKey : Bool;
var charCode : UInt;
var ctrlKey : Bool;
var keyCode : UInt;
var keyLocation : flash.ui.KeyLocation;
var shiftKey : Bool;
function new(type : String, bubbles : Bool = true, cancelable : Bool = false, charCodeValue : UInt = 0, keyCodeValue : UInt = 0, keyLocationValue : flash.ui.KeyLocation = 0, ctrlKeyValue : Bool = false, altKeyValue : Bool = false, shiftKeyValue : Bool = false) : Void;
function updateAfterEvent() : Void;
static var KEY_DOWN : String;
static var KEY_UP : String;
}
|