I used this example:
for my Flex Application and it works fine, Now I would expand this application in that way to leave the items in the list unchanged by drag and drop, so an item should be copied and droped into the tree,
Is there a possibility to do it in this way and how.
My first approach was to copy the items- array:
var draggedItemsCopy:Array = new Array(ObjectUtil.clone(draggedItems));
but this doesn't work.
Does anyone have an idea how I could do it,
Thanks and all the best,
Try this once...
var draggedItemsCopy:Array = ObjectUtil.copy(draggedItems) as Array;
Are you sure draggedItems you are getting as an Array..???