Hi,
I am attempting to do the following:
I have a movieclip and inside it is two buttons and a graphic. There is a button on the top and a button on the top right, then gr aphic below. It looks like a window. The top is a bar I wish to use to drag the entire moveclip, and the top right is an X to close the window.
The problem is in my code… I am using :
on (press) {
startDrag(“window”, false);
}
on (release) {
stopDrag();
}
However it isn’t working because “window” is infact in root… I cannot use the button inside the movie clip to move the entire movie clip.
My question is: What is the proper code to move the entire movie clip which is in root, using a button located inside the movie clip?
Thanks,
Joe