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

                bitmapData.fillRect(fillRect, 0);
            }
            
            if (skin)
            {
                needUpdate = skin.endHighlightBitmapCapture();
                if (needUpdate)
                    skin.validateNow();
            }
            
            

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