         super.createChildren();
 
         // Create the border/background.
-        if (!border)
-        {
-            var borderClass:Class = getStyle("borderSkin");
-            border = new borderClass();
-            if (border is ISimpleStyleClient)
-                ISimpleStyleClient(border).styleName = this;
-            addChild(DisplayObject(border));
-        }
+        createBorder();
 
         // Create the TextField that displays the tooltip text.
         createTextField(-1);

    {
        return textField;
    }
}

}

        // won't call updateDisplayList() because the size hasn't changed.
        // But the TextField has to be repositioned, so we need to
        // invalidate the layout as well as the size.
        if (styleProp == "styleName" ||
            styleProp == "borderSkin" ||
            styleProp == null)
        {
            //if the border skin has changed then rebuild it.
            if(border)
            {
                removeChild(DisplayObject(border));
                border = null;
            }
            
            createBorder();	        
        }
        else if (styleProp == "borderStyle")
        {
            invalidateDisplayList();
        }
