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

				validateDisplayList();

				// The Preloader listens for this event.
				ApplicationGlobals.application.dispatchEvent(
					new Event("validateDisplayListComplete"));
			}
		}

import flash.events.Event;
import flash.events.EventDispatcher;

import mx.core.FlexGlobals;
import mx.core.ILayoutElement;
import mx.core.UIComponent;
import mx.core.mx_internal;
