Hi Prashant,

You can try using mouseUp event instead of click event.
But you will also have to write some extra logic to check if the drag is being 
performed.
You may set some boolean variable on drag and check it on mouseUp event handler.
If it is set then do not do anything.

Hope this helps

Thanks,
Saagar Shetty.





----- Original Message ----
From: jitendra jain <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Tuesday, 21 October, 2008 2:15:02 PM
Subject: Re: [flexcoders] drag drop invokes click handler of dragged compoent


I don't understand your question. How can you start dragging without clicking?
Please make it very clear what you want... If possible give an example..
 Thanks,

with Regards,
Jitendra Jain


________________________________
 From: prashant194 <prashant194@ yahoo.com>
To: [EMAIL PROTECTED] ups.com
Sent: Tuesday, 21 October, 2008 1:57:53 PM
Subject: [flexcoders] drag drop invokes click handler of dragged compoent


Is there any way i can strop the click handler of the dragged
component being fired when the component is dragged and dropped over
other region?

I want the click handler to work only on non drag operation i.e. when
the component is clicked only and i want to stop click handler from
fired when dragged and dropped.


________________________________
 Check out the all-new face of Yahoo! India. Click here.     

Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download 
Now! http://messenger.yahoo.com/download.php

Reply via email to