 
         /* Update the client counter on badge. */
         update_client_count();
+
+        addEventListener(MouseEvent.CLICK, mouse_clicked);
     }
 
     public function proxy_begin():void

    }
}

import flash.text.TextFormat;
import flash.text.TextField;
import flash.utils.getTimer;

class Badge extends flash.display.Sprite
{
    /* Number of proxy pairs currently connected. */
    private var num_proxy_pairs:int = 0;
    /* Number of proxy pairs ever connected. */

        cur_client_count_tf.text = "";
        for(var i:Number = 0; i < num_proxy_pairs; i++)
            cur_client_count_tf.appendText(".");
    }

    /* Show a web page with detailed information when the badge is clicked. */
    private function mouse_clicked(e:MouseEvent):void
    {
        try {
            navigateToURL(new URLRequest(FLASHPROXY_INFO_URL));
        } catch (err:Error) {
        }
    }
}

