     private var popUpIsDisplayed:Boolean = false;
     private var addedToStage:Boolean = false;
     
+    private var popUpSizeCaptured:Boolean = false;
+    
     private static var decomposition:Vector.<Number> = new <Number>[0,0,0,0,0];
     
     //--------------------------------------------------------------------------

        {
            if (popUpWidthMatchesAnchorWidth)
                UIComponent(popUp).width = unscaledWidth;
            if (popUpHeightMatchesAnchorHeight)
                UIComponent(popUp).height = unscaledHeight;
        }
        else
        {

    {
        PopUpManager.removePopUp(popUp);
        popUpIsDisplayed = false;
    }
    
    /**
