     
     import flash.display.Bitmap;
     import flash.display.BitmapData;
+    import flash.display.DisplayObject;
     import flash.display.IBitmapDrawable;
     import flash.events.Event;
     import flash.geom.ColorTransform;

    
    import spark.components.supportClasses.Skin;
    import spark.components.supportClasses.SkinnableComponent;
    
    use namespace mx_internal;
    

                target.focusObj.visible = false;
            
            var needUpdate:Boolean;
            var bitmapCaptureClient:IHighlightBitmapCaptureClient = target.skin as IHighlightBitmapCaptureClient;
            if (bitmapCaptureClient)
            {
                needUpdate = bitmapCaptureClient.beginHighlightBitmapCapture();
                if (needUpdate)
					bitmapCaptureClient.validateNow();
            }
            
            m.tx = borderWeight;
