It isn't going to the next scene

I have:
[AS]
on (press) {
_root.yerkit = “yerkit1”;
nextScene();
}
[/AS]
It changes the yerkit part, but it won’t go to the next scene. I also tried this:
[AS]
on (press) {
_root.yerkit = “yerkit1”;
gotoAndStop(“Scene 2”, 1);
}
[/AS]
but neither works! Help me please! :frowning: