Functions

Ok I have created a function below and my problem is Im trying to make it go to a certain point on the movieclip thats called. I am not to familar with creating functions for frame labels so any guidance would be great. clipboard_mc.gotoAndStop(“frameLabel”); is where I want to add the code but when I code the button below it doesnt go to the frame that I want it to.

MY CODE:

function btnRelease(myBtns:MovieClip, frameLabel:String):Void {
myBtns.onRelease = function() {
clipboardIn();
noBtns();
}
clipboard_mc.gotoAndStop(frameLabel);
}

BUTTON CODE:

btnRelease(hand, “hand”);