     protected function itemAdded(item:Object, index:int):void
     {
         var childDO:DisplayObject;
+        var myItemRenderer:Object;
                 
         if (item is GraphicElement) 
         {

            if (item is IStyleClient)
                IStyleClient(item).regenerateStyleCache(true);
                
            childDO = createVisualForItem(graphicItem);
        }   
        else
        {
            childDO = createVisualForItem(item);
        }
        
        addItemToDisplayList(childDO, item, index);
        
        dispatchEvent(new ItemExistenceChangedEvent(
                      ItemExistenceChangedEvent.ITEM_ADD, false, false, item));
        
        invalidateSize();
        invalidateDisplayList();

                
        if (childDO)
            super.removeChild(childDO);
        
        unregisterRenderer(index, renderer);
        
        invalidateSize();
        invalidateDisplayList();
