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

    {
        try
        {
            if (propertyName == null && (dest is Group || dest is FxItemsComponent))
                return dest.getItemIndex(object);
            
            if (propertyName == null && dest is Container)

package mx.states 
{
import flash.display.DisplayObject;
import mx.components.FxContainer;
import mx.components.Group;
import mx.collections.ArrayCollection;
import mx.collections.ArrayList;
