Jump to next scene/action script

i now know how 2 jump to anotehr frame

on (release) {
gotoAndPlay(2);
}

but how do i jump to another scene
i am making a menu and i need the text to go 2 the next scene wut code would i use?