[flexcoders] Listening for both Mouse Down and Double Click events.

2008-12-09 Thread flexaustin
Is it possible to listen for both a mouse down and doubleclick events
without using some sort of timer?  On mouse down start timer to listen
for a another mouse down?

If you listen for a mouse down and in the mouse down handler add
another listener to listen for some other action is a possibility I
guess, but would it add the listener in time?

TIA



Re: [flexcoders] Listening for both Mouse Down and Double Click events.

2008-12-09 Thread Brendan Meutzner
There is a double click event you can listen for on UIComponent... just make
sure that doubleClickEnabled is set to true on the instance you're setting
the listener on.

Brendan



On Tue, Dec 9, 2008 at 11:04 AM, flexaustin [EMAIL PROTECTED] wrote:

   Is it possible to listen for both a mouse down and doubleclick events
 without using some sort of timer? On mouse down start timer to listen
 for a another mouse down?

 If you listen for a mouse down and in the mouse down handler add
 another listener to listen for some other action is a possibility I
 guess, but would it add the listener in time?

 TIA

  




-- 
Brendan Meutzner
http://www.meutzner.com/blog/