Hi list...

If a sprite is tabEnabled and it has focus, should hitting the Enter Key
fire a MouseEvent.CLICK event? Or, is it still necessary to add a
KeyboardEvent listener?

The docs allude to that it should work without the keyboard event, but
hitting the Enter key with my focused sprite isn't working.

mySprite.buttonMode = true;
mySprite.tabEnabled = true;
// I've added a MouseEvent.MOUSE_UP event too.

Thanks,
- Michael M.


buttonMode docs:
"Specifies the button mode of this sprite. If true, this sprite behaves
as a button, which means that it triggers the display of the hand cursor
when the mouse passes over the sprite and can receive a click event if
the enter or space keys are pressed when the sprite has focus."

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to