 	        hasParent = false;
 	    }
 	    
-		var targetDisplayObject:DisplayObject = DisplayObject(target);
-
 		// Dispatch an effectStart event from the target.
 		super.play();	
 		

    
    private function removeChild(container:*, child:*):void
    {
        if (hasParent)
           container.removeChild(child);
        else
           container.removeItem(child);

    
    private function getChildIndex(container:*, child:*):int
    {
        if (hasParent && !(container is Group))
           return container.getChildIndex(child);
        else
           return container.getItemIndex(child);
