Snap into position! OH THE PAIN!

Hi,

I know its probably easy to do but after 3-4 hours of reading different bits on the net, i still can’t get this to work. I would like to get the first movie clip to snap to the target and then play another movie clip. It all works except the snap.

Help please!

Could you explain if possible what the different parts of the code do, as i am interested in learning not just having someone do it for me!

thanks

Webby

Code on the button within the dragable movie clip:

on (press) {
startDrag("_root.drag1");
}
on (release) {
stopDrag();
if (_root.drag1._droptarget == “/test1”) {
_root.outline1.gotoAndStop(“done”);
}
}