I figured out the answer to my own question.  box.setFocus().

--- In flexcoders@yahoogroups.com, "mitchgrrt" <mitch_g...@...> wrote:
>
> I have a thing I'm drawing on screen using a Box and some graphics.  I
> would like it to also respond to some keyboard events.  (It responds
> well to mouse clicks and drag events.)  Key clicks  don't seem to work:
> box.focusEnabled = true;
> box.addEventListener(KeyboardEvent.KEY_DOWN, onKeyDown);
> The onKeyDown method never gets called.  Is there a way to do this? 
> Thanks.
>


Reply via email to