RE: [flexcoders] How to cancel drag 'n drop operation?

2005-10-14 Thread Tracy Spratt










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











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





Yesif the location is valid, I call
that function











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






Are you calling:

event.target.showDropFeedback();











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Stacy Young
Sent: Thursday, October 13, 2005
8:37 PM
To: flexcoders@yahoogroups.com
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
doesnt support drag n drop) to provide additional feedback when
hovering over an invalid position?











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





Could you apply the location checking
logic in the dragOver?











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





Not very elegant but I got around it with
using a boolean variableif the location isnt valid, just sets a
flag that is then checked on doDragComplete











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Stacy Young
Sent: Thursday, October 13, 2005
7:07 PM
To: flexcoders@yahoogroups.com
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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] How to cancel drag 'n drop operation?

2005-10-13 Thread Tracy Spratt
Typically we do not manipulate either the source or target until the
dragDrop event happens over a valid target.

When in the drag operation are you wanting to cancel?

Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Stacy Young
Sent: Thursday, October 13, 2005 6:50 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to cancel drag 'n drop operation?

How do you cancel a drag 'n drop operation so they object is dragging is
not placed anywhere...and the original is not removed from the source
component?

Thanks!
Stace



--
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



 







 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

--
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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 






RE: [flexcoders] How to cancel drag 'n drop operation?

2005-10-13 Thread Stacy Young










Its an unusual situationIm
trying to prevent an item from being dropped outside a set of folders (in the
root)so I have completed the logic to detect if this happensand
if so, I can stop the item from being addedbut its still being
removed from the original component via my doDragComplete()











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Tracy Spratt
Sent: Thursday, October 13, 2005
7:08 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How to
cancel drag 'n drop operation?





Typically we do not
manipulate either the source or target until the
dragDrop event happens over a valid target.

When in the drag operation are you wanting to
cancel?

Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
Behalf Of Stacy Young
Sent: Thursday, October 13, 2005 6:50 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to cancel drag 'n drop
operation?

How do you cancel a drag 'n drop operation so they
object is dragging is
not placed anywhere...and the original is not
removed from the source
component?

Thanks!
Stace



--
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

















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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] How to cancel drag 'n drop operation?

2005-10-13 Thread Stacy Young










Not very elegant but I got around it with
using a boolean variableif the location isnt valid, just sets a
flag that is then checked on doDragComplete











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





Its an unusual
situationIm trying to prevent an item from being dropped outside
a set of folders (in the root)so I have completed the logic to detect if
this happensand if so, I can stop the item from being addedbut
its still being removed from the original component via my
doDragComplete()











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt
Sent: Thursday, October 13, 2005
7:08 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How to
cancel drag 'n drop operation?





Typically we do not
manipulate either the source or target until the
dragDrop event happens over a valid target.

When in the drag operation are you wanting to
cancel?

Tracy

-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Behalf Of Stacy Young
Sent: Thursday, October 13, 2005 6:50 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to cancel drag 'n drop
operation?

How do you cancel a drag 'n drop operation so they
object is dragging is
not placed anywhere...and the original is not
removed from the source
component?

Thanks!
Stace



--
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


















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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] How to cancel drag 'n drop operation?

2005-10-13 Thread Tracy Spratt










Could you apply the location checking
logic in the dragOver?











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





Not very elegant but I got around it with
using a boolean variableif the location isnt valid, just sets a
flag that is then checked on doDragComplete











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





Its an unusual
situationIm trying to prevent an item from being dropped outside
a set of folders (in the root)so I have completed the logic to detect if
this happensand if so, I can stop the item from being addedbut its
still being removed from the original component via my doDragComplete()











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy
 Spratt
Sent: Thursday, October 13, 2005
7:08 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How to cancel
drag 'n drop operation?





Typically we do not
manipulate either the source or target until the
dragDrop event happens over a valid target.

When in the drag operation are you wanting to
cancel?

Tracy

-Original Message-
From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On
Behalf Of Stacy Young
Sent: Thursday, October 13, 2005 6:50 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to cancel drag 'n drop
operation?

How do you cancel a drag 'n drop operation so they
object is dragging is
not placed anywhere...and the original is not
removed from the source
component?

Thanks!
Stace



--
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



















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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] How to cancel drag 'n drop operation?

2005-10-13 Thread Stacy Young










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











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





Could you apply the location checking
logic in the dragOver?











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





Not very elegant but I got around it with
using a boolean variableif the location isnt valid, just sets a
flag that is then checked on doDragComplete











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Stacy Young
Sent: Thursday, October 13, 2005
7:07 PM
To: flexcoders@yahoogroups.com
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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] How to cancel drag 'n drop operation?

2005-10-13 Thread Tracy Spratt











Are you calling:

event.target.showDropFeedback();











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Stacy Young
Sent: Thursday, October 13, 2005
8:37 PM
To: flexcoders@yahoogroups.com
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
doesnt support drag n drop) to provide additional feedback when
hovering over an invalid position?











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





Could you apply the location checking
logic in the dragOver?











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





Not very elegant but I got around it with
using a boolean variableif the location isnt valid, just sets a
flag that is then checked on doDragComplete











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Stacy Young
Sent: Thursday, October 13, 2005
7:07 PM
To: flexcoders@yahoogroups.com
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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] How to cancel drag 'n drop operation?

2005-10-13 Thread Stacy Young










Yesif the location is valid, I call
that function











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






Are you calling:

event.target.showDropFeedback();











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Stacy Young
Sent: Thursday, October 13, 2005
8:37 PM
To: flexcoders@yahoogroups.com
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
doesnt support drag n drop) to provide additional feedback when
hovering over an invalid position?











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





Could you apply the location checking
logic in the dragOver?











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





Not very elegant but I got around it with
using a boolean variableif the location isnt valid, just sets a
flag that is then checked on doDragComplete











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Stacy Young
Sent: Thursday, October 13, 2005
7:07 PM
To: flexcoders@yahoogroups.com
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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.