 {
     
 import flash.display.DisplayObject;
-import flash.display.Stage;
-import flash.display.StageDisplayState;
 import flash.events.Event;
-import flash.geom.ColorTransform;
 import flash.geom.Matrix;
 import flash.geom.Point;
 import flash.geom.Rectangle;

    {
        if (!popUpIsDisplayed)
            return;
                
        var m:Matrix = MatrixUtil.getConcatenatedMatrix(this, systemManager.getSandboxRoot());
         
        // Set the dimensions explicitly because UIComponents always set themselves to their
        // measured / explicit dimensions if they are parented by the SystemManager. 
        if (popUp is UIComponent)

        }
        
        var popUpPoint:Point = calculatePopUpPosition();
        PopUpUtil.applyPopUpTransform(this, $transform.concatenatedColorTransform, systemManager, popUp, popUpPoint);
    }
    
    //--------------------------------------------------------------------------
