![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
Flash Player 6.
someListener
.onKeyUp
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 addListener()
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.
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |