       client.start();
     }
 
-    public function pause():void
-    {
+    public function pause():void {
       client.pause();
       this.callAPI('streamPaused');
     }
 
-    public function resume():void
-    {
+    public function resume():void {
       client.resume();
       this.callAPI('streamResumed');
     }
 
-    public function stop():void
-    {
+    public function stop():void {
       urlParsed = null;
       ns = null;
       client.stop();

      video.y = (stageheight - video.height) / 2;
    }

    public function play(iurl:String = null):void
    {
      if (client) {
        urlParsed = url.parse(iurl);
        /* Stop the client, and 'onStopped' will start the new stream. */

      ExternalInterface.addCallback("startAudioTransmit", audioTransmitStartInterface);
      ExternalInterface.addCallback("stopAudioTransmit", audioTransmitStopInterface);

      /* Set default speaker volume */
      this.speakerVolume(0.5);

      /* Set default microphone volume */
      this.microphoneVolume(50);
      
      /* Stage setup */
      this.stage.align = StageAlign.TOP_LEFT;
      this.stage.scaleMode = StageScaleMode.NO_SCALE;
      addEventListener(Event.ADDED_TO_STAGE, onStageAdded);

      /* Video object setup */
      video = new Video(stage.stageWidth, stage.stageHeight);
      addChild(video);

      /* Fullscreen support setup */
      this.stage.doubleClickEnabled = true;
      this.stage.addEventListener(MouseEvent.DOUBLE_CLICK, fullscreen);
      this.stage.addEventListener(Event.FULLSCREEN, function(event:Event):void {
