 						break;
 					}
 					
-					case "before":
+					case AddAction.BEFORE:
 					{
 						addChildAt(getContainer(relativeTo), target,
 							getChildIndex(getContainer(relativeTo), relativeTo));
 						break;
 					}
 
-					case "after":
+					case AddAction.AFTER:
 					{
 						addChildAt(getContainer(relativeTo), target,
 							getChildIndex(getContainer(relativeTo), relativeTo) + 1);
 						break;
 					}
 					
-					case "firstChild":
+					case AddAction.FIRST_CHILD:
 					{
 						addChildAt(relativeTo, target, 0);
 					}
 					
-					case "lastChild":
+					case AddAction.LAST_CHILD:
 					{
 						addChild(relativeTo, target);
 					}


import mx.core.mx_internal;
import mx.effects.effectClasses.ActionEffectInstance;

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

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