   import flash.events.Event;
   import flash.events.MouseEvent;
   import flash.external.ExternalInterface;
+  import flash.media.Microphone;
   import flash.media.SoundMixer;
   import flash.media.SoundTransform;
   import flash.media.Video;
   import flash.net.NetStream;
   import flash.system.Security;
-  import flash.media.Microphone;
 
   [SWF(frameRate="60")]
   [SWF(backgroundColor="#efefef")]

      trace('stage added');
    }

    public function onMetaData(item:Object):void
    {
      this.meta = item;
      this.videoResize();
    }

    public function onNetStreamCreated(ev:ClientEvent):void
    {
      this.ns = ev.data.ns;
      ev.data.ns.bufferTime = config.buffer;
      ev.data.ns.client = this;
    }

    private function onStopped(ev:ClientEvent):void
    {
      video.clear();
      client = null;
      if (urlParsed) {

package {
  import com.axis.ClientEvent;
  import com.axis.IClient;
  import com.axis.audioclient.AxisTransmit;
