Hi All,

  After spending some time on the API Docs i am able to find a way to
get hold of the new parent of the Dropped Item at runtime..

[CODE]
 var r:int = tree.calculateDropIndex(event);
 tree.selectedIndex = r;
[/CODE]

How ever when i add this code to the onDragDrop() method..

I am unable to drop the Items !!

How ever when i added the code to add the dragged items as Child
Elements of the target parent everything seems to work fine..

Thanks
Mars

Reply via email to