W3cubDocs

/Haxe Flash

KeyboardEvent

package flash.events

extends Event

Available on flash

Constructor

@:value({ shiftKeyValue : false, altKeyValue : false, ctrlKeyValue : false, keyLocationValue : 0, keyCodeValue : 0, charCodeValue : 0, cancelable : false, bubbles : true }) new (type:String, bubbles:Bool = true, cancelable:Bool = false, charCodeValue:UInt = 0, keyCodeValue:UInt = 0, keyLocationValue:KeyLocation = 0, ctrlKeyValue:Bool = false, altKeyValue:Bool = false, shiftKeyValue:Bool = false)

Variables

altKey:Bool

charCode:UInt

ctrlKey:Bool

keyCode:UInt

keyLocation:KeyLocation

shiftKey:Bool

Methods

updateAfterEvent ():Void

Static variables

static read only KEY_DOWN:String

static read only KEY_UP:String

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/flash/events/KeyboardEvent.html