G-L > Key.onKeyUp |
![]() ![]() ![]() |
Key.onKeyUp
Availability
Flash Player 6.
Usage
someListener
.onKeyUp
Description
Listener; notified when a key is released. To use onKeyUp
you must create a listener object. You can then define a function for onKeyUp
and use the addListener
method to register the listener with the Key object, as in the following:
someListener = new Object(); someListener.onKeyUp = function () { ... }; Key.addListener(someListener);
Listeners enable different pieces of code to cooperate because multiple listeners can receive notification about a single event.
See also
![]() ![]() ![]() |