I'm following the code here:

http://weblogs.macromedia.com/pent/archives/2006/11/tree_drag_and_d.cfm

It just shows u how to manually add drag support to a tree.  The code
is not complete though.  Once you move a tree node it leaves the old
copy.  I can't seem to figure out how to deal with the old node.

I think you have to add something in the dragComplete, but I don't
know what.

private function onDragComplete( event:DragEvent ) : void
{
     tree.selectedIndex = -1;
}

help is greatly appreciated.



Reply via email to