Kick! PUNCH! What's wrong with my attack script?

Fairly obvious what I want, left click and punch.

    function Start() {
        var shoulder : Transform = transform.Find("root/spine1/spine2/spine3/chest1/chest2/topshoulder_R");
        animation["Punch"].AddMixingTransform(shoulder);
    }
     
    function Update () {
        if(Input.GetMouseButtonDown(0))
          animation.CrossFade("Punch");
}

EDIT: http://xaler.web44.net/test.html here is the project itself. I have attached a rigid body sphere to her hand to act as the collider. If you can score a good hit on the floating cube with the glowing circle it will begin to play a song, and if you hit it again it will pause. If you left click you will see what I have for a punch so far.

Answered it myself! The fix was moving the “var shoulder” above the function start

var shoulder : Transform;
    
    function Start() {
        animation["Punch"].AddMixingTransform(shoulder);
        animation["Punch"].layer = 1;
    }
 
    function Update () {
        if(Input.GetMouseButtonDown(0))
          animation.Play("Punch");
}