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

import flash.external.ExternalInterface;
import flash.net.navigateToURL;
import flash.net.URLRequest;
import mx.core.ApplicationGlobals;
import mx.events.BrowserChangeEvent;

/**

	 *  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
