 import flash.external.ExternalInterface;
 import flash.net.navigateToURL;
 import flash.net.URLRequest;
-import mx.core.ApplicationGlobals;
+import mx.core.FlexGlobals;
 import mx.events.BrowserChangeEvent;
 
 /**

     */
    public function init(defaultFragment:String = "", defaultTitle:String = ""):void
    {
        if ("historyManagementEnabled" in ApplicationGlobals.application)
		  ApplicationGlobals.application.historyManagementEnabled = false;

		setup(defaultFragment, defaultTitle);
	}

	 *  prepare the BrowserManager for further calls from the HistoryManager.  Use
	 *  of HistoryManager and setFragment calls from the application is
	 *  not supported, so the init() method sets 
	 *  FlexGlobals.topLevelApplication.historyManagementEnabled to false to disable
	 *  the HistoryManager
     *  
     *  @langversion 3.0
