             dragEvent.relatedObject = _relatedObject;
         else
             dragEvent.relatedObject = event.relatedObject;
+            
+        if (dragAutomationHandlerClass)
+		{
+			if (newType == DragEvent.DRAG_DROP)
+			{
+				dragAutomationHandlerClass["recordAutomatableDragDrop1"](target,dragEvent);
+			}
+			else if (newType == DragEvent.DRAG_COMPLETE)
+			{
+			   	dragAutomationHandlerClass["recordAutomatableDragCancel1"]
+			   		(NativeDragManager.dragInitiator as IUIComponent, dragEvent);
+			}
+		}    
+            
         // Resend the event as a DragEvent.
         _dispatchDragEvent(target, dragEvent);
                 

import flash.events.NativeDragEvent;
import flash.geom.Point;
import flash.system.Capabilities;

import mx.core.DragSource;
import mx.core.IFlexDisplayObject;

        }

        _dragImage = dragImage;     
        
        if (dragAutomationHandlerClass)
		{
			dragAutomationHandlerClass["recordAutomatableDragStart1"](dragInitiator as IUIComponent, mouseEvent);
		}
                        
        if (dragImage is IUIComponent && dragImage is ILayoutManagerClient && 
            !ILayoutManagerClient(dragImage).initialized && dragInitiator)
