M > MovieClip.onKeyUp |
![]() ![]() ![]() |
MovieClip.onKeyUp
Availability
Flash Player 6.
Usage
myMovieClip
.onKeyUp
Parameters
None.
Returns
Nothing.
Description
Event; invoked when a key is released. The onKeyUp
event is invoked with no parameters. You can use the Key.getAscii
and Key.getCode
methods to determine which key was pressed.
You must define a function that executes when the event is invoked.
Example
The following example defines a function for the onKeyPress
method that sends a trace
action to the Output window.
myMovieClip.onKeyUp = function () { trace ("onKeyUp called"); };
![]() ![]() ![]() |