User Guide
556 Chapter 2: ActionScript Language Reference
When you tab to the movie clip and press a key, key was pressed displays in the Output panel.
However, this does not occur after you move the mouse, because the movie clip loses focus.
Therefore, you should use
Key.onKeyDown in most cases.
See also
MovieClip.onKeyUp