     /**
      *  @private
      */
-    protected function addItemsToContentHolder(dest:Group, items:Array):void
+    protected function addItemsToContentHolder(dest:Object, items:Array):void
     {
         if (startIndex == -1)
             startIndex = dest.numItems;

        else
            localItems = [items];
             
        if ((propertyName == null || propertyName == "content") && dest is Group)
        {
            for (i = 0; i < numAdded; i++)
                Group(dest).removeItemAt(startIndex);
        }
        else if (propertyName == null && dest is Container)
        {


package flex.states 
{
import flash.display.DisplayObject;
import flex.component.ItemsComponent;
import flex.core.Group;
import mx.collections.ArrayCollection;
import mx.collections.ArrayList;
