         
         var isInputTextField:Boolean = 
             (target is TextField && target.type == TextFieldType.INPUT) ||
-                (textViewClass && target is textViewClass && (target["editable"] || target["selectable"]));
+                (richEditableTextClass && target is richEditableTextClass && (target["editable"] || target["selectable"]));
         
         // Do target test.
         if (!overTextField && isInputTextField)


    /**
     *  @private
     *  Soft-link to TextView class object, if available.
     */
    private var textViewClass:Class;

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

			}
		}

		// If available, get soft-link to the RichEditableText class
		// to use in mouseMoveHandler().
        // ToDo: revisit the correct way to do this for modules.
        if (ApplicationDomain.currentDomain.hasDefinition(
				"spark.components.RichEditableText"))
		{
            richEditableTextClass = 
				Class(ApplicationDomain.currentDomain.getDefinition(
					"spark.components.RichEditableText"));
		}
    }

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