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

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

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