 
 import mx.core.mx_internal;
 import mx.effects.effectClasses.ActionEffectInstance;
+import mx.effects.AddAction;
 
 /**
- *  The AddChildActionInstance class implements the instance class
- *  for the AddChildAction effect.
+ *  The AddActionInstance class implements the instance class
+ *  for the AddAction effect.
  *  Flex creates an instance of this class when it plays
- *  an AddChildAction effect; you do not create one yourself.
+ *  an AddAction effect; you do not create one yourself.
  *
- *  @see mx.effects.AddChildAction
+ *  @see mx.effects.AddAction
  */  
 public class AddActionInstance extends ActionEffectInstance
 {

			{
				switch (position)
				{
					case "index":
					{
						if (index == -1)
							addChild(relativeTo, target);

						break;
					}
					
					case AddAction.BEFORE:
					{
						addChildAt(getContainer(relativeTo), target,
							getChildIndex(getContainer(relativeTo), relativeTo));
						break;
					}

					case AddAction.AFTER:
					{
						addChildAt(getContainer(relativeTo), target,
							getChildIndex(getContainer(relativeTo), relativeTo) + 1);
						break;
					}
					
					case AddAction.FIRST_CHILD:
					{
						addChildAt(relativeTo, target, 0);
					}
					
					case AddAction.LAST_CHILD:
					{
						addChild(relativeTo, target);
					}
