I'm having trouble with some script on some movie clips.

It's supposed to cause each of five movie objects to correspond and go to a different named frame when they are clicked. The problem is that regardless of which one is clicked, it always goes to "animation." I tested it out by changing the name of the animation frame. The result was that it then always went to the "publication" frame. It would seem that it goes to the last valid named frame in the script.

Actionscript Code:
stop();

Photo_Button.onMouseUp = function() {
    gotoAndPlay("photo");
}

Design_Button.onMouseUp = function() {
    gotoAndPlay("design");
}

Drawing_Button.onMouseUp = function() {
    gotoAndPlay("drawing");
}

Publication_Button.onMouseUp = function() {
    gotoAndPlay("publication");
}

Animation_Button.onMouseUp = function() {
    gotoAndPlay("animation");
}

Is this just a small syntax or separation I'm missing or am I using the wrong code all together?