     private var authState:String = 'none';
     private var authOpts:Object = {};
 
+    private var savedUrl:String = null;
+
     public function AxisTransmit() {
     }
 

      mic.addEventListener(StatusEvent.STATUS, onMicStatus);
      mic.addEventListener(SampleDataEvent.SAMPLE_DATA, onMicSampleData);

      this.urlParsed = url.parse(iurl);

      conn = new Socket();
      conn.addEventListener(Event.CONNECT, onConnected);

      }
    }

    public function start(iurl:String = null):void {
      if (conn.connected) {
        trace('already connected');
        return;
      }

      var currentUrl:String = (iurl) ? iurl : savedUrl;

      if (!currentUrl) {
        trace("no url provided");
        return;
      }

      this.savedUrl = currentUrl;

      var mic:Microphone = Microphone.getMicrophone();
      mic.rate = 16;
