Instead of directly handling the events, you could put them into a queue, which is evaluated after a little delay, at least as long as the double click delay. This way you can decide, if it is a single or a double click.
Cheers, Ralf. On 1/21/07, ecpmaz <[EMAIL PROTECTED]> wrote:
I don't know if this is implemented natively somewhere in flex... but I want to cancel a click event when a double click is caught. <mx:TextInput click="f1()" doubleClick="f2()" /> If user double clicks, f1 and f2 will be launched... I want only f2 to be launched. The same goes between mouseDown and mouseClick : I d'ont want to launch a mouseDown when the user simply clicks... Any idea ? Mathieu LEMAIRE
-- Ralf Bokelberg <[EMAIL PROTECTED]> Flex & Flash Consultant based in Cologne/Germany Phone +49 (0) 221 530 15 35