         {
         	if (mx_internal::debug)
         		trace("setText()");
-        	_inputManager.setText(_text);
         	
+            textFlowChanged = true;
+
         	textChanged = false;
         }
         else if (contentChanged)
         {
         	var textFlow:TextFlow = createTextFlowFromContent();
         	
-        	textInvalid = true;
-        	dispatchEvent(new Event("textInvalid"));
+        	textFlowChanged = true;
         	
         	if (mx_internal::debug)
         		trace("setTextFlow()");

     *  @private
     */    
    private var errorCaught:Boolean = false;
            
    //--------------------------------------------------------------------------
    //

     */
    public function get text():String 
    {
        // If displayAsPassword is changing, use the old value until the
        // change is committed.
        if (!displayAsPassword && !displayAsPasswordChanged ||
            displayAsPassword && displayAsPasswordChanged)
        {
            _text = _inputManager.getText("\n");
            
            // ToDo: asked TLF if they not put the terminator on the last
            // paragraph
            
            // Remove terminator on the last paragraph, ie remove the last char.
            if (_text.length > 0 && _text.charAt(_text.length-1) == "\n")
                _text = _text.slice(0, -1);
        }
        
        return _text;
    }
    
