             textChanged = true;
         else if (cause == "content")
             contentChanged = true;
+            
+        mx_internal::bounds.width = NaN;
+        mx_internal::bounds.height = NaN;
     }
     
     //--------------------------------------------------------------------------

     */
    private var textInvalid:Boolean = false;
        
    /**
     *  @private
     */
    private var stylesChanged:Boolean = false;

    //--------------------------------------------------------------------------
    //
    //  Overridden properties

    /**
     *  @private
     *  Called when the TextFlow dispatches a 'damage' event
     *  to indicate it has been modified.  This could mean the styles changed
     *  or the content changed, or both changed.
     */
    private function textFlow_damageHandler(
                            event:DamageEvent):void
    {
        //trace("damageHandler", "damageStart", event.damageStart, "damageLength", event.damageLength);
                
        // Invalidate text.
        textInvalid = true;
        
        // Invalidate styles.
        mx_internal::stylesChanged = true;

        // This is smart enough not to remeasure if the explicit width/height
        // were specified.
        invalidateSize();
        
        invalidateDisplayList();  
    }    
