 //
 ////////////////////////////////////////////////////////////////////////////////
 
-package flex.states 
+package mx.states 
 {
 import flash.display.DisplayObject;
-import flex.component.ItemsComponent;
-import flex.core.Group;
+import mx.components.FxItemsComponent;
+import mx.components.Group;
 import mx.collections.ArrayCollection;
 import mx.collections.ArrayList;
 import mx.core.Container;

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

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