If you want your movie clipYou are in frame 1. The user drags a Movie Clip named jug to a target named playdroptarget frame 2 and. So your function stopendDrag frame 3, you just haveasks its parent (the Main Timeline) to writegotoAndStop(2):
if statement
event.target.gotoAndPlayparent.gotoAndStop(2); // or this
frame 3 of your MovieClip In frame 2 another Movie Clip plays, and when it finishes to play, its parent (the Main Timeline) gotoAndStop(3). In the last frame of your movie clip:
stopMovieClip(parent).gotoAndStop(3);