Question:
Im trying to drag 2 seperate clips at the same time. 1 clip is a handle clip which exists in a container clip called “handles container”, the other is a shape clip which exists in a container clip called "shapes container. I want to make it so that when the shape is pressed the handle appears on the center of the shape and when the handle is dragged the shape is dragged with it. Makse sense?
Please help !:hair:
I had a similar proble (i think), but if you put:
on (press) {
grab = 1;
}
on (release) {
grab = 0;
}
onClipEvent (enterFrame) {
if (grab==1) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
}
in both movie clips, it should work.
I did a startDrag/stopDrag replacement here
http://proto.layer51.com/d.aspx?f=845
Thanks Welsh, thanks Se,
I think i’ll use your function Senocular, it will probably fit better with what I have. The reason I have to drag 2 clips is that I have a handle clip and a line clip -where I want the line clip to only be dargged when the ‘positioning handle’ (which sits on the center of the line) is being dragged.
:sigh: