1 Reply Latest reply on Aug 29, 2006 2:49 PM by peterent


      I am not sure, how I would attach Mouse or Keyboard Enter event to a button? The goal is to allow user to either use the keyboard or mouse to initiate the event.

      I tried button.addEventListener(MouseEvent.Click | KeyboardEvent.Keydown, listenerfunction);. However, I get an error. I would like the listnerfunction get invoked when the button is clicked with either a mouse or keyboard.