Targeting from Movie Clip

I have a movie clip in my main movie. The movie clip has buttons on it that tell where the play head should go in the main movie. I’m using this script;

The play head goes to the right frame but it keeps playing even though I’ve specified it to “gotoAndStop” at frame 28. I’ve tried using labels and addressing it that way but same thing happens. Any ideas?

Thanks People