 
 package spark.components
 {
-    
 import flash.events.Event;
 import flash.events.FocusEvent;
 
-import spark.components.supportClasses.TextBase;
+import flashx.textLayout.formats.LineBreak;
+
+import mx.core.mx_internal;
+import mx.events.FlexEvent;
+    
+import spark.components.supportClasses.SkinnableTextBase;
 import spark.components.supportClasses.SkinnableComponent;
 import spark.events.TextOperationEvent;
 
-import flashx.textLayout.formats.LineBreak;
+use namespace mx_internal;
 
 //--------------------------------------
 //  Events

        
        // Trigger bindings to textChanged.
        dispatchEvent(new Event("textChanged"));
    }

    //--------------------------------------------------------------------------
    //
    //  Overridden methods

    {
        super.partAdded(partName, instance);

        if (instance == textDisplay)
        {
            textDisplay.multiline = false;
            
            // TextInput should always be 1 line.
            textDisplay.heightInLines = 1;
        }
    }
}
