 import mx.events.DynamicEvent;
 import mx.events.FlexEvent;
 import mx.events.ResizeEvent;
+import mx.events.RSLEvent;
 import mx.events.SandboxMouseEvent;
 import mx.preloaders.Preloader;
 import mx.utils.LoaderUtil;

	 */
	mx_internal static var allSystemManagers:Dictionary = new Dictionary(true);

	/**
	 *  @private
	 *  The last SystemManager instance loaded as child app domains
	 */
	mx_internal static var lastSystemManager:SystemManager;

	//--------------------------------------------------------------------------
	//
	//  Constructor

		dispatchEvent(new FlexEvent(FlexEvent.APPLICATION_COMPLETE));
	}

    /**
     *  @private
     *  The preloader has completed loading an RSL.
     */
    private function preloader_rslCompleteHandler(event:RSLEvent):void
    {
        if (event.loaderInfo)
            preloadedRSLs[event.loaderInfo] = event.url.url;
    }
    
    /**
	 *  @private
	 *  This is attached as the framescript at the end of frame 2.
	 *  When this function is called, we know that the application
