 import flashx.textLayout.elements.SpanElement;
 import flashx.textLayout.elements.TextFlow;
 import flashx.textLayout.events.DamageEvent;
-import flashx.textLayout.formats.CharacterFormat;
-import flashx.textLayout.formats.ContainerFormat;
-import flashx.textLayout.formats.ParagraphFormat;
+import flashx.textLayout.formats.FormatValue;
+import flashx.textLayout.formats.TextLayoutFormat;
+import flashx.textLayout.tlf_internal;
 
 import mx.core.mx_internal;
 import mx.graphics.baseClasses.TextFlowComposer;

     *  when styleChanged() is called with a null argument, indicating that
     *  multiple styles have changed.
     */
    private var hostFormatsInvalid:Boolean = false;

    /**
     *  @private


        // The whiteSpaceCollapse format determines how whitespace
        // is processed when the children are set.
		staticTextLayoutFormat.lineBreak = FormatValue.INHERIT;
        staticTextLayoutFormat.paddingLeft = FormatValue.INHERIT;
        staticTextLayoutFormat.paddingRight = FormatValue.INHERIT;
        staticTextLayoutFormat.paddingTop = FormatValue.INHERIT;
        staticTextLayoutFormat.paddingBottom = FormatValue.INHERIT;
        staticTextLayoutFormat.verticalAlign = FormatValue.INHERIT;
        staticTextLayoutFormat.whiteSpaceCollapse =
            getStyle("whiteSpaceCollapse");
        textFlow.hostTextLayoutFormat = staticTextLayoutFormat;

        textFlow.mxmlChildren = children;

