     {
         try
         {
-            if (propertyName == null && (dest is Group || dest is ItemsComponent))
+            if (propertyName == null && (dest is Group || dest is FxItemsComponent))
                 return dest.getItemIndex(object);
             
             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;
import mx.core.Container;

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