     {
         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)

                break;
        }    
        
        if ( (propertyName == null || propertyName == "content") && (dest is Group || dest is ItemsComponent))
        {
            addItemsToContentHolder(dest, localItems);
        }

//
////////////////////////////////////////////////////////////////////////////////

package mx.states 
{
import flash.display.DisplayObject;
import mx.components.FxItemsComponent;
import mx.components.Group;
import mx.collections.ArrayCollection;
import mx.collections.ArrayList;
import mx.core.Container;
