     private var ns:NetStream;
     private var streamServer:String;
     private var streamId:String;
-    private var currentState:String = "stopped";
+    private var currentState:String = 'stopped';
 
     public function RTMPClient(video:Video, urlParsed:Object) {
       this.video = video;

      this.nc = new NetConnection();
      nc.addEventListener(NetStatusEvent.NET_STATUS, onConnectionStatus);
      nc.addEventListener(AsyncErrorEvent.ASYNC_ERROR, asyncErrorHandler);
      nc.client = this;

      this.streamId = urlParsed.basename;

        return false;
      }
      ns.pause();
      this.currentState = 'paused';
      return true;
    }

