A code problem in flash

Hey

for some reason this code deosn’t work, it playes the next scene and then stops at the first frame, what is the correct code.

on (release){
nextScene();

}

thanks in advance

ICED T:tie: