             count = addedItems.length;
             for (i = 0; i < count; i++)
             {
-                itemSelected(getItemAt(addedItems[i]), true);
+                itemSelected(dataProvider.getItemAt(addedItems[i]), true);
             }
         }
     }

     */
    override protected function itemSelected(item:Object, selected:Boolean):void
    {
        var item:* = currentContentGroup.getItemSkin(item);
        
        if (item)
            item.selected = selected;
    }
    
    /**
     *  Called when a skin part has been added or assigned. 
     *  This method sets the "alwaysUseItemRenderer" flag on the
     *  contentGroup part.
     */
    override protected function partAdded(partName:String, instance:*):void
    {
        super.partAdded(partName, instance);
        
        if (instance == contentGroup && !itemsAreRenderers)
            contentGroup.alwaysUseItemRenderer = true;
    }

    
    //--------------------------------------------------------------------------
    //

            var count:int = value.length;
            
            for (var i:int = 0; i < count; i++)
                indices[i] = dataProvider.getItemIndex(value[i]);
        }
        
        selectedIndices = value;
