     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];
     
     //--------------------------------------------------------------------------

    {
        PopUpManager.removePopUp(popUp);
        popUpIsDisplayed = false;
        
        if (popUp is UIComponent)
        {
            UIComponent(popUp).explicitWidth = popUpWidth;
            UIComponent(popUp).explicitHeight = popUpHeight;
        }
    }
    
    /**

        {
            PopUpManager.addPopUp(popUp,this,false);
            popUpIsDisplayed = true;
            if (popUp is UIComponent && !popUpSizeCaptured)
            {
                popUpWidth = UIComponent(popUp).explicitWidth;
                popUpHeight = UIComponent(popUp).explicitHeight;
                UIComponent(popUp).validateNow();
                popUpSizeCaptured = true;
            }   
            
            applyPopUpTransform(width, height);
