PDA

View Full Version : Move an object from one parent to another


bowser17
05-18-2005, 04:37 AM
Hi-

I need to take an object (movieClip) that I drag, and when releasing over the droptarget, move the clip from the _root to the clip I drag it over, so now that droptarget object is the parent of the object which was being dragged.

Thanks.

IceCo
05-18-2005, 05:29 AM
You can:

1. delete the draggedObject at _root and
2. attach the draggedObject to the dragTraget movieClip

senocular
05-18-2005, 09:34 AM
here's an implementation of making that mostly seemless:
http://senocular.com/flash/source.php?id=0.129