In the following AS3 code snippet, I am trying to get to the second frame if the drag object (call_draggable)
lands on the target (drag_target).


stop();
/* Drag and Drop
Makes the specified symbol instance moveable with drag and drop.
*/

call_draggable.addEventListener(MouseEvent.MOUSE_D OWN, fl_ClickToDrag_2);

function fl_ClickToDrag_2(event:MouseEvent):void
{
call_draggable.startDrag();

}

stage.addEventListener(MouseEvent.MOUSE_UP, fl_ReleaseToDrop_2);

function fl_ReleaseToDrop_2(event:MouseEvent):void
{
call_draggable.stopDrag();
if (call_draggable == drag_target) {
gotoAndStop(2);
}
}

Can someone help me? Or at least point out what I am doing wrong?

Thanks!