i am not sure if this is correct but...
event.target.startDrag(); is a reference to the original displayobject which dispatched the event. this means that when you invoke the startDrag() method it will only drag the displayobject that called the event handler.
i would attempt to add all of the objects you wish to drag to a single container and call startDrag on that container.
or if you already have all your movieclips in a container and you want to drag that entire container you can use this.startDrag();Code:var containerMC:MovieClip var mc1:MovieClip var mc2:MovieClip containerMC.addChild(mc1) containerMC.addChild(mc2) containerMC.addEventListener(e:mousevent){ containerMC.startDrag(); }




Reply With Quote
