      *  Instance of the border graphics.
      */
     private var border:DisplayObject;
-        
+    
+    private var borderVisibleChanged:Boolean = false;
+    
     //--------------------------------------------------------------------------
     //
     //  Overridden methods

     *  textDisplay skin part.
     */
    public var textDisplay:StyleableTextField;
    
    /**
     *  @private

            // for most input and most font.
            var characterWidth:int = Math.max(1, (getStyle("fontSize") - 2));
            measuredWidth =  (characterWidth * hostComponent.maxChars) + 
                paddingLeft + paddingRight + TEXT_WIDTH_PADDING;
        }
        else
        {
            measuredWidth = 440;
        }
        
        measuredHeight = textHeight + paddingTop + paddingBottom + TEXT_HEIGHT_PADDING;
    }
    
    /**
