I have made graph script in AS3 so I can draw nodes and connect them with edges. I managed to move nodes while thay are connected on by one, but now I need to be able to move many nodes at he same time. I made script that selects nodes by dragging (draw rect and when mouse is relised it makes hitTest), then I add selected nodes to holder (Sprite) and add drag and drop to holder. Everything works fine I can move slected nodes together but I now dont know how to kill holder (remove childs from holder back to stage) so nodes would be at new location. I would be thankfull if someone could hlep me with that or give better solution for this problem
Thanks!
Edited by Latinoking, 03 November 2010 - 03:29 AM.