gotoAndStop() issue, Please help

Okay, so I have a script that I am currently working on, the only problem is that it doesn’t change frame when clicked (like it should).

Here is my AS

play_pause_mc.onPress=function(){
 if(netStream.play){
  this.gotoAndStop("pause");
  netStream.pause();
 }
 else{
  this.gotoAndStop("play");
  netStream.play();
 }
}

[FONT=Courier New][/FONT]

I have both the keyFrames labeled what I want them to be (play, and pause) and it is supposed to change them with the script, but it isn’t. Does anyone know why this is or a way to prevent it from happening?