 
 import flash.display.DisplayObjectContainer;
 
-import mx.components.Group;
+import mx.core.IVisualElement;
 import mx.core.IVisualElementContainer;
 import mx.core.mx_internal;
 import mx.effects.effectClasses.AddActionInstance;

                // TODO : workaround for current situation of mis-match between
                // Group having 'item's and Flex3 components having 'parent's
                if (target.parent is IVisualElementContainer)
                    IVisualElementContainer(target.parent).removeElement(target);
                else
                    target.parent.removeChild(target);
            }

		if (property == "index")
			return container ? 
                ((container is IVisualElementContainer) ? 
                    IVisualElementContainer(container).getElementIndex(target as IVisualElement) : 
                    container.getChildIndex(target)) 
                : 0;
		
