 //
 ////////////////////////////////////////////////////////////////////////////////
 
-package mx.components
+package spark.components
 {
     
 import flash.events.Event;
 import flash.events.FocusEvent;
 
-import mx.components.TextView;
-import mx.components.baseClasses.FxTextBase;
-import mx.components.baseClasses.FxComponent;
-import mx.events.TextOperationEvent;
+import spark.components.RichEditableText;
+import spark.components.supportClasses.TextBase;
+import spark.components.supportClasses.SkinnableComponent;
+import spark.events.TextOperationEvent;
 
 import flashx.textLayout.formats.LineBreak;
 

     *  @playerversion AIR 1.5
     *  @productversion Flex 4
     */    
    public function FxTextInput()
    {
        super();
    }


        if (instance == textView)
        {
            // Set the RichEditableText to allow only one line of input.
            // In default.css, the TextInput selector has a declaration
            // for lineBreak which sets it to "explicit".  It needs to be on
            // TextInput rather than RichEditableText so that if changed later it
            // will be inherited.  It needs to be set with the default
            // before the possibility that it is changed when TextInput is
            // created.  In this case, setting it here, would overwrite
            // that change.
            textView.heightInLines = 1;
