     private var _itemRenderer:IFactory;
     
     private var itemRendererChanged:Boolean;
-    
-    /**
-     *  @private
-     *  flag to indicate whether a child in the item renderer has a non-zero layer, requiring child re-ordering.
-     */
-    private var _layeringFlags:uint = 0;
-    
-    private static const LAYERING_ENABLED:uint = 	0x1;
-    private static const LAYERING_DIRTY:uint = 		0x2;
 
     [Inspectable(category="Data")]
 

    
    //--------------------------------------------------------------------------
    //
    //  Item -> Renderer mapping
    //
    //--------------------------------------------------------------------------
    
    /**
     *  Returns the instance of the renderer at the specified index. If the item 
     *  at that index is a visual element and uses no renderer, then the visual  
     *  element will be returned.
     *
     *  @param index The item index whose renderer is to be returned.
     *
     *  @return The renderer instance for the specified item. If the item
     *          is a visual element and has no item renderer, 
     *          the visual element itself is returned.
     */
    public function getItemRenderer(index:int):Object
    {
        return itemRendererRegistry[index];
    }
    
    /**
     *  Returns the item index associated with the specified renderer.
     *
     *  @param renderer The renderer whose item you want to retrieve.
     *
     *  @return The item index associated with the specified renderer, 
     *          or -1 if there is no item associated with the passed in 
     *          renderer.
     */
    public function getRendererItem(renderer:Object):int
    {
        return itemRendererRegistry.indexOf(renderer);
    }
    
    /**

            len = topLayerItems.length;
            for (i=0;i<len;i++)
            {
            	myItemRenderer = topLayerItems[i];
	            super.setChildIndex(myItemRenderer as DisplayObject, insertIndex++);
            }
        }
        
