         colors[1] = chromeColor;
         colors[2] = ColorUtil.adjustBrightness2(chromeColor, -20);
         
-        graphics.beginGradientFill(GradientType.LINEAR, colors, alphas, ratios, matrix);
+        chromeColorGraphics.beginGradientFill(GradientType.LINEAR, colors, alphas, ratios, matrix);
         
         // adjust for separator
-        graphics.drawRect(xOffset, 0, backgroundWidth, backgroundHeight);
-        graphics.endFill();
+        chromeColorGraphics.drawRect(xOffset, 0, backgroundWidth, backgroundHeight);
+        chromeColorGraphics.endFill();
     }
 }
 }
{
import flash.display.DisplayObject;
import flash.display.GradientType;
import flash.geom.ColorTransform;
import flash.geom.Matrix;

import mx.utils.ColorUtil;

        positionPart(bgImg, 0, 0);
    }
    
    override protected function drawChromeColor(chromeColorGraphics:Graphics, unscaledWidth:Number, unscaledHeight:Number):void
    {
        drawBackgroundOffset(chromeColorGraphics, 0, unscaledWidth, unscaledHeight);
    }
    
    protected function drawBackgroundOffset(chromeColorGraphics:Graphics, xOffset:Number, backgroundWidth:Number, backgroundHeight:Number):void
    {
        var colors:Array = [];
        
        // Draw the gradient background
        matrix.createGradientBox(backgroundWidth, backgroundHeight, Math.PI / 2, 0, 0);
