Try calling it always.  We are and we get the red x when the location is invalid.

 


From: [email protected] [mailto:[email protected]] On Behalf Of Stacy Young
Sent: Thursday, October 13, 2005 8:57 PM
To: [email protected]
Subject: RE: [flexcoders] How to cancel drag 'n drop operation?

 

Yes…if the location is valid, I call that function

 


From: [email protected] [mailto:[email protected]] On Behalf Of Tracy Spratt
Sent: Thursday, October 13, 2005 8:58 PM
To: [email protected]
Subject: RE: [flexcoders] How to cancel drag 'n drop operation?

 


Are you calling:

event.target.showDropFeedback();

 


From: [email protected] [mailto:[email protected]] On Behalf Of Stacy Young
Sent: Thursday, October 13, 2005 8:37 PM
To: [email protected]
Subject: RE: [flexcoders] How to cancel drag 'n drop operation?

 

Yep that works, thx! … any idea if I can trigger that “x” icon (shows when hovering over object that doesn’t support drag ‘n drop) to provide additional feedback when hovering over an invalid position?

 


From: [email protected] [mailto:[email protected]] On Behalf Of Tracy Spratt
Sent: Thursday, October 13, 2005 8:18 PM
To: [email protected]
Subject: RE: [flexcoders] How to cancel drag 'n drop operation?

 

Could you apply the location checking logic in the dragOver?

 


From: [email protected] [mailto:[email protected]] On Behalf Of Stacy Young
Sent: Thursday, October 13, 2005 7:43 PM
To: [email protected]
Subject: RE: [flexcoders] How to cancel drag 'n drop operation?

 

Not very elegant but I got around it with using a boolean variable…if the location isn’t valid, just sets a flag that is then checked on doDragComplete

 


From: [email protected] [mailto:[email protected]] On Behalf Of Stacy Young
Sent: Thursday, October 13, 2005 7:07 PM
To: [email protected]
Subject: RE: [flexcoders] How to cancel drag 'n drop operation?

 








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to