 import flash.events.MouseEvent;
 import flash.events.ProgressEvent;
 import flash.geom.Point;
+import flash.system.ApplicationDomain;
 import flash.text.TextField;
 import flash.text.TextFieldType;
 import flash.ui.Mouse;


        var target:Object = event.target;
        
        // Do target test.
        if (!overTextField &&
            target is TextField && target.type == TextFieldType.INPUT)
        {   
            overTextField = true;
            showSystemCursor = true;
        } 
        else if (overTextField &&
                 !(target is TextField && target.type == TextFieldType.INPUT))
        {
            overTextField = false;
            showCustomCursor = true;

		// trace("--->update request for CursorManagerImpl", sm);
		sandboxRoot.dispatchEvent(me);
		// trace("<---update request for CursorManagerImpl", sm);
		
		// If available, get soft-link to the TextView class to use in mouseMoveHandler().
        // ToDo: revisit the correct way to do this for modules.
        if (ApplicationDomain.currentDomain.hasDefinition("mx.components.TextView"))
            textViewClass = Class(ApplicationDomain.currentDomain.getDefinition("mx.components.TextView"));
    }

    //--------------------------------------------------------------------------
