Dumb Button Question but

I this is probably a dumb question, i did that tutorial for making movie clip buttons…
this.button.onRollOver = function() {
button.gotoAndPlay("_over");
}
this.button.onRollOut = function() {
button.gotoAndPlay("_out");
}

but what do i do to make it like lead somewhere, like go to frame 10 or somthing??
thanks