             // translate these colors into uints
             styleManager.getColorNames(alternatingColors);
             
-            if (parent is GroupBase)
-                idx = GroupBase(parent).getElementIndex(this);
-            else
-                idx = parent.getChildIndex(this);
-             
-            return alternatingColors[idx % alternatingColors.length];
+            return alternatingColors[index % alternatingColors.length];
         }
         
         return getStyle("contentBackgroundColor");

        if (!anyButtonDown(event))
        {
            hovered = true;
            setCurrentState(getCurrentRendererState(), playTransitions); 
        }
    }
    

    protected function itemRenderer_rollOutHandler(event:MouseEvent):void
    {
        hovered = false;
        setCurrentState(getCurrentRendererState(), playTransitions);
        if (handleHighlightBackground)
        {
            redrawRequested = true;
            super.$invalidateDisplayList();
        }
    }

}
