 import flash.events.Event;
 import flash.events.FocusEvent;
 import flash.events.KeyboardEvent;
-
+import flash.globalization.LocaleID;
+import flash.globalization.NumberFormatter;
+
+import mx.core.IIMESupport;
 import mx.core.mx_internal;
-import mx.core.IIMESupport;
 import mx.events.FlexEvent;
 import mx.managers.IFocusManagerComponent;
 


    //--------------------------------------------------------------------------
    //
    //  Overridden properties: UIComponent
    //
    //--------------------------------------------------------------------------

        var prevValue:Number = value;
        
        if (valueParseFunction != null)
        {
            inputValue = valueParseFunction(textDisplay.text);
        }
        else 
        {
            if (dataFormatter == null)
                dataFormatter = new NumberFormatter(LocaleID.DEFAULT);

            inputValue = dataFormatter.parseNumber(textDisplay.text);
        }
        
        if ((textDisplay.text && textDisplay.text.length != value.toString().length)
            || textDisplay.text == "" || (inputValue != value && 
