ActionScript 2.0 Components Language Reference |
|
|
|
| UIEventDispatcher class > UIEventDispatcher.keyUp | |||
Flash Player 6 (6.0.79.0).
Flash MX Professional 2004.
listenerObject= new Object();listenerObject.keyUp = function(eventObject){// Insert your code here.} componentInstance.addEventListener("keyUp",listenerObject)
Event; broadcast to all registered listeners when a key that was pressed is released and the Flash application has focus.
When the event is triggered, it automatically passes an event object (eventObject) to the handler. Each event object has properties that contain information about the event. You can use these properties to write code that handles the event.
|
|
|
|