 import mx.resources.IResourceManager;
 import mx.resources.ResourceManager;
 import mx.utils.SandboxUtil;
-import flash.geom.Rectangle;
-import mx.graphics.RadialGradient;
-import mx.events.SandboxBridgeRequest;
 
 use namespace mx_internal;
 


        alert.setActualSize(alert.getExplicitOrMeasuredWidth(),
                            alert.getExplicitOrMeasuredHeight());
        PopUpManager.centerPopUp(alert);
        
        return alert;
    }

{

import flash.display.DisplayObject;
import flash.geom.Rectangle;
import flash.display.Sprite;
import flash.events.Event;
import flash.events.EventPhase;
import mx.containers.Panel;
import mx.controls.alertClasses.AlertForm;
import mx.core.Application;
import mx.core.EdgeMetrics;
import mx.core.FlexVersion;
import mx.core.IFlexDisplayObject;
import mx.core.mx_internal;
import mx.core.UIComponent;
import mx.events.CloseEvent;
import mx.events.FlexEvent;
import mx.events.MarshalEvent;
import mx.events.SandboxBridgeRequest;
import mx.graphics.RadialGradient;
import mx.managers.ISystemManager;
import mx.managers.ISystemManager2;
import mx.managers.PopUpManager;
