 ////////////////////////////////////////////////////////////////////////////////
 package org.apache.flex.core
 {
-    
-    import org.apache.flex.states.AddItems;
-    import org.apache.flex.states.SetEventHandler;
-    import org.apache.flex.states.SetProperty;
-    import org.apache.flex.states.State;
-    
+        
     import org.apache.flex.core.IParent;
     import org.apache.flex.core.IStatesObject;
     import org.apache.flex.effects.Effect;

                            ai.itemsDescriptor.items = ai.items;
                        }
                    }
                    for each (var item:Object in ai.items)
                    {
                        var parent:IParent = ai.document as IParent;
                        if (ai.destination)
                            parent = parent[ai.destination] as IParent;
                        if (ai.relativeTo != null)
                        {
                            var child:Object = ai.document[ai.relativeTo];
                            if (ai.destination)
                                parent = IChild(child).parent as IParent;
                            var index:int = parent.getElementIndex(child);
                            if (ai.position == "after")
                                index++;
                            parent.addElementAt(item, index);
                        }
                        else
                        {
                            parent.addElement(item);
                        }
                    }
                    if (parent is IContainer)
                        IContainer(parent).childrenAdded();
                }
                else if (o is SetProperty)

            {
                if (s.name == event.newValue)
                {
                    newState = s;
                    break;
                }
            }
            if (oldState)
                revert(oldState, newState);
            if (newState)
                apply(oldState, newState);
            if (transitionEffects && transitionEffects.length > 0)
            {
                for each (e in transitionEffects)
