             availableWidth = explicitWidth;
         else if (!isNaN(explicitMaxWidth))
             availableWidth = explicitMaxWidth;
-        
+
         measureUsingWidth(availableWidth);
     }
     

[DefaultBindingProperty(source="text",destination="text")]

[IconFile("Text.png")]

[Alternative(replacement="spark.primitives.SimpleText", since="4.0")]

/**
 *  The Text control displays multiline, noneditable text.

     */
    override public function set percentWidth(value:Number):void
    {
    	// Due to player bugs relating to scaling text, we
    	// have to be careful to set wordWrap appropriately
    	// (which we do in commitProperties).
    	// Also have to re-measure when width changes, because width
    	// can affect height.
    	if (value != percentWidth)
    	{
    		widthChanged = true;
 			invalidateProperties();
    		invalidateSize();
    	}

    	super.percentWidth = value;
    }

    //--------------------------------------------------------------------------
