I have two trees, one is source, to drag and the other
destination, to be dropped.
My requirement is when an item (leaf node) is dragged and
dropped, i want to represent that item
in the dropped location in the same hierarchical way i.e., by
creating a replica of that parent in the
dropped location. When i follow the below code, it do not
var dropTarget:Tree = Tree(event.currentTarget);
var insertNewParentNode:XML = <b></b>;
var childNode:XML = <c></c>;
childNode.@label = insertItemNode.@label;
insertNewParentNode.@label = insertParentNode.@label;
// the above code only moves leaf nodes or the dragged items.
//i also tried using below,
I am stuck at this point, not able to understand why flex is
restricting movement of branch or replicating branch
at the dropped location.