         textFormat.font = StringUtil.trimArrayElements(getStyle("fontFamily"),",");
         textFormat.indent = getStyle("textIndent");
         textFormat.italic = getStyle("fontStyle") == "italic";
-        textFormat.kerning = getStyle("kerning");
+		var kerning:* = getStyle("kerning");
+        // Map new Spark values that might be set in a selector
+		// affecting both Halo and Spark components.
+		if (kerning == "auto" || kerning == "on")
+			kerning = true;
+		else if (kerning == "off")
+			kerning = false;
+        textFormat.kerning = kerning;
         textFormat.leading = getStyle("leading");
         textFormat.leftMargin = ignorePadding ? 0 : getStyle("paddingLeft");
         textFormat.letterSpacing = getStyle("letterSpacing");

import flash.events.Event;
import flash.text.TextField;
import flash.text.TextFormat;
import flash.text.TextLineMetrics;
import flashx.textLayout.controls.TLFTextField;
import flashx.textLayout.compose.ITextLineCreator;

    {
        var textFormat:TextFormat = new TextFormat();

        var textAlign:String = getStyle("textAlign");
        // Map new Spark values that might be set in a selector
		// affecting both Halo and Spark components.
        if (textAlign == "start") 
            textAlign = TextFormatAlign.LEFT;
        else if (textAlign == "end")
            textAlign = TextFormatAlign.RIGHT;
        textFormat.align = textAlign; 
        textFormat.bold = getStyle("fontWeight") == "bold";
        if (enabled)
        {
