You might get two MOUSE_UPs, but not continuous.  Are you sure you're
not redispatching the event?

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of flashcrow2000
Sent: Monday, September 03, 2007 4:39 AM
To: [email protected]
Subject: [flexcoders] DoubleClick together with Mouse_Down and Mouse_Up



Hi all,

I have a custom made thumbnail class, and I must allow the user to
either drag and drop the thumbnail, or double-click it in order to do
whatever it is the thumb does. Now...I have the drag and drop all
figured out (I'm not using DragManager, I'm catching the mouse_down
and mouse_up event) but if I double click the thumb (which has
doubleClickEnabled set to true), I get my double click method called
once, but also my mouse_up listener method called continuously, even
though I have no timers or any other mechanism which might explain a
continuous call of a method. 

To put it simple, I'm asking if there is a way to tell one object to
ignore a mouse_down - mouse_up sequence if that sequence is part of a
mouse_doubleClick event. 

If you have any ideas, please let me know.
Thanks



 

Reply via email to