Play next scene from within movie symbol

Flash MX

In a movie symbol, I put


_root.gotoAndPlay(nextSceneName, 1);

But the it won’t go to the next scene. What’s wrong with this code?