 				validateDisplayList();
 
 				// The Preloader listens for this event.
-				ApplicationGlobals.application.dispatchEvent(
+				FlexGlobals.topLevelApplication.dispatchEvent(
 					new Event("validateDisplayListComplete"));
 			}
 		}

	 */
	public function invalidateDisplayList(obj:ILayoutManagerClient ):void
	{
		if (!invalidateDisplayListFlag && ApplicationGlobals.application.systemManager)
		{
			invalidateDisplayListFlag = true;


	 */
	public function invalidateSize(obj:ILayoutManagerClient ):void
	{
		if (!invalidateSizeFlag && FlexGlobals.topLevelApplication.systemManager)
		{
			invalidateSizeFlag = true;

