Move is the default, there is extra work to copy.
http://livedocs.adobe.com/flex/3/html/dragdrop_8.html Tracy ________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Josh McDonald Sent: Thursday, May 01, 2008 5:05 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Drag and Drop question How do you mark a drag/drop operation as having a certain type (ie Move)? -J On Fri, May 2, 2008 at 5:32 AM, Tracy Spratt <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: Actually I am pretty sure the list-based component's built-in drag/drop functionality does do this on a MOVE. The docs describe this. Are the XML structures the same? Tracy ________________________________ From: flexcoders@yahoogroups.com <mailto:flexcoders@yahoogroups.com> [mailto:flexcoders@yahoogroups.com <mailto:flexcoders@yahoogroups.com> ] On Behalf Of Josh McDonald Sent: Thursday, May 01, 2008 2:46 AM To: flexcoders@yahoogroups.com <mailto:flexcoders@yahoogroups.com> Subject: Re: [flexcoders] Drag and Drop question I'm fairly certain that there's no voodoo to automatically delete nodes from your XML, you need to do that yourself in your drop handler. -J On Thu, May 1, 2008 at 4:36 PM, Rafael Faria <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: If i'm dragging an element from one tree to another. How do i get the updated xml of the tree i'm dragging off? For instance TREE 1 - Element 1 - Element 2 TREE 2 if i get the xml from tree 1 it would be something like <root> <element label="Element 1" /> <element label="Element 2" /> </root> but if i drag the Element 1 into the TREE 2 i want to get the xml without the "Element 1", without that node. i'm trying to get it creating a handler for "dragDrop" attribute on the Tree 2, but everytime i get it the items are not updated. Anyone know how to get the updated xml that tree 1 will have after i drop the element? Please... this is killing me =/ Thanks -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>