Brendan, I have the the doubleclick enabled, but I have listener on my component (with property doubleclickenabled = true) that needs to listen for both MOUSE_DOWN & DOUBLE_CLICK.
If DOUBLE_CLICK happens then I don't want Mouse_down to be handled. So I need my component to wait and see if the mouse_down was part of a double click or a just a mouse down. --- In flexcoders@yahoogroups.com, "Brendan Meutzner" <[EMAIL PROTECTED]> wrote: > > 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/ >