Hey i a have create a movie clip scene in the Second frame now what i want to do is that when it goes to the second frame and start play the clip and the clip finishes it will stop at the third frame i have done the Action script code but it doesn't work
function endDrag(event:MouseEvent):void
{
event.target.stopDrag();
event.target.x = startPoint.x;
event.target.y = startPoint.y;
if (jug.dropTarget != null && jug.dropTarget.parent == DropTarget && currentFrame == 1)
{
this.gotoAndStop(2);
nextFrame();
}
}
this.parent.gotoAndStop(3);And remove thenextFrame();within yourendDragevent code.