      */
     private function initializeHandler(event:FlexEvent):void
     {
-        overlayChild.removeEventListener(FlexEvent.INITIALIZE,
+        effectOverlayChild.removeEventListener(FlexEvent.INITIALIZE,
                                          initializeHandler);
 
-        UIComponent(overlayChild).addOverlay(overlayColor, overlayTargetArea);
+        UIComponent(effectOverlayChild).addOverlay(effectOverlayColor, effectOverlayTargetArea);
     }
 
     /**

    /**
     *  @private
     *  Remember which child has an overlay mask, if any.
     */
    private var overlayChild:UIComponent;

    /**
     *  @private
     *  Keep track of the overlay's targetArea
     */
    private var overlayTargetArea:RoundedRectangle;

    /**
     *  @private

     */
    override mx_internal function removeOverlay():void
    {
        if (effectOverlayChild)
        {
            UIComponent(effectOverlayChild).removeOverlay();
            effectOverlayChild = null;
        }
    }

