import mx.utils.ObjectUtil;
import mx.managers.IBrowserManager;
import mx.managers.BrowserManager;
import mx.utils.URLUtil;
private function parseURL() : void
{
var bm:IBrowserManager = BrowserManager.getInstance();
bm.init();
output.text += "URL Port:" + URLUtil.getPort( bm.url ) + "\n";
output.text += "URL Protocol:" + URLUtil.getProtocol( bm.url ) + "\n";
output.text += "URL Server:" + URLUtil.getServerName( bm.url ) + "\n";
output.text += "URL Server with Port:" + URLUtil.getServerNameWithPort( bm.url );
}