you can reuse the same function.

Code:
function mouseUpHandler(evt:MouseEvent):void {
   gotoAndPlay(2);
   evt.currentTarget.removeEventListener(MouseEvent.MOUSE_UP,mouseUpHandler);
}
the currentTarget is what is calling the event, and that is the movieclip you called the addEventListener for.