         if (borderStyle == "default" ||
             borderStyle == "alert")
         {
-            if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0)
-                _borderMetrics = new EdgeMetrics(0, 0, 0, 0);
-            else
-                return EdgeMetrics.EMPTY;
+            return EdgeMetrics.EMPTY;
         }       
         
         else if (borderStyle == "controlBar" ||

                g.endFill();
            }
        }
        
        var borderStyle:String = getStyle("borderStyle");
        
        if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0 && (borderStyle == "alert" || borderStyle == "default") && getStyle("headerColors") == null)
        {
            var highlightAlphas:Array = getStyle("highlightAlphas");
            var highlightAlpha:Number = highlightAlphas ? highlightAlphas[0] : 0.3;
            // edge
            drawRoundRect(
                0, 0, w, h,
                { tl: radius, tr: radius, bl: 0, br: 0 },
                0xFFFFFF, highlightAlpha, null,
                GradientType.LINEAR, null, 
                { x: 0, y: 1, w: w, h: h - 1,
                  r: { tl: radius, tr: radius, bl: 0, br: 0 } });
        }   
    }

    /**

import flash.display.Graphics;
import mx.core.IContainer;
import mx.core.EdgeMetrics;
import mx.core.IUIComponent;
import mx.core.mx_internal;
import mx.graphics.RectangularDropShadow;
