Goto Help

I need some basic help…just started using Flash…so I have the following code as an actionscript attached to a button that has a slider like the one in the tutorials…problem is how do I make the onPress goto a different frame in my scene??

button_1.onPress = [color=red]function()[/color] {
xMove = button_1._y;
};

Any help would be appreciated.

THX