That's nice that everybody is learning from my question :p

I'm hereee o/ ehheheh

someone can help me? :0

i still don't know how to get an updated tree after i move the node...

or there is any easy way to remove a node from an xml?!

thanks
rafael

--- In flexcoders@yahoogroups.com, "Josh McDonald" <[EMAIL PROTECTED]> wrote:
>
> Ew =)
> 
> All my dragdrop stuff is funky custom components so I never noticed.
But ew.
> 
> -J
> 
> On Fri, May 2, 2008 at 7:49 AM, Tracy Spratt <[EMAIL PROTECTED]> wrote:
> 
> >    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]>
> > 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:[EMAIL PROTECTED] *On
> > Behalf Of *Josh McDonald
> > *Sent:* Thursday, May 01, 2008 2:46 AM
> > *To:* 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]>
> > 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]
> >
> >
> >
> >
> > --
> > "Therefore, send not to know For whom the bell tolls. It tolls for
thee."
> >
> > :: Josh 'G-Funk' McDonald
> > :: 0437 221 380 :: [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]
>


Reply via email to