 		static_resourcesChanged();
 	}
 
+ 
+    /**
+     *  @private
+     */
+    private static function static_creationCompleteHandler(event:FlexEvent):void
+    {
+        if (event.target is IFlexDisplayObject && event.eventPhase == EventPhase.AT_TARGET)
+        {
+            event.target.removeEventListener(FlexEvent.CREATION_COMPLETE, static_creationCompleteHandler);
+            PopUpManager.centerPopUp(IFlexDisplayObject(event.target));
+        }
+    }
+    
     //--------------------------------------------------------------------------
     //
     //  Constructor

{

import flash.display.DisplayObject;
import flash.display.Sprite;
import flash.events.Event;
import mx.containers.Panel;
import mx.controls.alertClasses.AlertForm;
import mx.core.Application;
import mx.core.EdgeMetrics;
import mx.core.FlexVersion;
import mx.core.mx_internal;
import mx.core.UIComponent;
import mx.events.CloseEvent;
import mx.events.MarshalEvent;
import mx.managers.ISystemManager;
import mx.managers.ISystemManager2;
import mx.managers.PopUpManager;

import mx.resources.IResourceManager;
import mx.resources.ResourceManager;
import mx.utils.SandboxUtil;

use namespace mx_internal;

