     /**
      *  @inheritDoc
      */
-    public function setElementIndex(element:Object, index:int):void
+    public function setElementIndex(element:IVisualElement, index:int):void
     {
         mx_internal::currentContentGroup.setElementIndex(element, index);
     }

    public function swapElementsAt(index1:int, index2:int):void
    {
        mx_internal::currentContentGroup.swapElementsAt(index1, index2);
    }
    
    //--------------------------------------------------------------------------
    //
    //  DEPRECATED Methods proxied to contentGroup
    //
    //--------------------------------------------------------------------------

    /**
     *  This method is deprecated and will be removed from FxContainer.
     */
    public function get numItems():int
    {
        return numElements;
    }
    
    /**
     *  This method is deprecated and will be removed from FxContainer.
     */
    public function getItemAt(index:int):Object
    {
        return getElementAt(index);
    }
    
        
    /**
     *  This method is deprecated and will be removed from FxContainer.
     */
    public function getItemIndex(item:Object):int
    {
        return getElementIndex(item);
    }
    
    /**
     *  This method is deprecated and will be removed from FxContainer.
     */
    public function addItem(item:Object):Object
    {
        return addElement(item);
    }
    
    /**
     *  This method is deprecated and will be removed from FxContainer.
     */
    public function addItemAt(item:Object, index:int):Object
    {
        return addElementAt(item, index);
    }
    
    /**
     *  This method is deprecated and will be removed from FxContainer.
     */
    public function removeItem(item:Object):Object
    {
        return removeElement(item);
    }
    
    /**
     *  This method is deprecated and will be removed from FxContainer.
     */
    public function removeItemAt(index:int):Object
    {
        return removeElementAt(index);
    }
    
    /**
     *  This method is deprecated and will be removed from FxContainer.
     */
    public function setItemIndex(item:Object, index:int):void
    {
        setElementIndex(item, index);
    }
    
    /**
     *  This method is deprecated and will be removed from FxContainer.
     */
    public function swapItems(item1:Object, item2:Object):void
    {
        swapElements(item1, item2);
    }
    
    /**
     *  This method is deprecated and will be removed from FxContainer.
     */
    public function swapItemsAt(index1:int, index2:int):void
    {
        swapElementsAt(index1, index2);
    }
    
    //----------------------------------

    /**
     *  @inheritDoc
     */
    public function addElementAt(element:IVisualElement, index:int):IVisualElement
    {
        return mx_internal::currentContentGroup.addElementAt(element, index);
    }
