prevScene(); & nextScene(); does not work

In my fla, I have 2 scenes - Begin and Grass. I have 2 buttons in a movie clip and I intend to put it in every scene. I tried using

on(release, keyPress "<Right>"){ 
    nextScene();
}

but it does not work. What code should I use or what should I do?