 import flash.text.TextFieldAutoSize;
 import flash.text.TextFieldType;
 import flash.text.TextFormat;
-import flash.text.TextFormatAlign;
 import flash.text.TextLineMetrics;
 import flash.text.engine.ElementFormat;
 import flash.text.engine.FontDescription;

	{
		// TextField throws this RTE if a null value is set.
		if (value == null)
			throw new TypeError("Parameter text must be non-null.");
		
		// Note: We don't return early if value == _text
		// because the defaultTextFormat may have changed

		// but that's not what TextField does.
		if (value == null)
		{
			var message:String = getErrorMessage("nullParameter", "text");
			throw new TypeError(message);
		}
		
		// Note: We don't return early if value == _htmlText
