             else if (content is Array)
             {
                 textFlow = createEmptyTextFlow();
-                textFlow.appendChildren = content as Array;
+                textFlow.mxmlChildren = content as Array;
             }
             else if (content is FlowElement)
             {
                 textFlow = createEmptyTextFlow();
-                textFlow.appendChildren = [ content ];
+                textFlow.mxmlChildren = [ content ];
             }
 			else if (content is String)
 			{

     *  <code>setAttributes({ fontSize: 12, color: 0xFF0000 })</code>
     *  will set the fontSize and color of the selection.
     *  The supported attributes are those in the
     *  ICharacterAttributes and IParagraphAttributes interfaces.
     */
    public function setAttributes(attributes:Object):void
    {
        var containerAttributes:ContainerAttributes;
        var paragraphAttributes:ParagraphAttributes;
        var characterAttributes:CharacterAttributes;
        
        for (var p:String in attributes)
        {
            var kind:String = TextUtil.ATTRIBUTE_MAP[p];
            
            if (kind == TextUtil.CONTAINER)
            {
                if (!containerAttributes)
                   containerAttributes =  new ContainerAttributes();
                containerAttributes[p] = attributes[p];
            }
            else if (kind == TextUtil.PARAGRAPH)
            {
                if (!paragraphAttributes)
                   paragraphAttributes =  new ParagraphAttributes();
                paragraphAttributes[p] = attributes[p];
            }
            else if (kind == TextUtil.CHARACTER)
            {
                if (!characterAttributes)
                   characterAttributes =  new CharacterAttributes();
                characterAttributes[p] = attributes[p];
            }
        }
        
        var editManager:TextViewEditManager =
            TextViewEditManager(textFlow.selectionManager);
        
        if (containerAttributes)
        {
            editManager.execute(new ContainerStyleChangeOperation(
                editManager, containerAttributes));
        }

        if (paragraphAttributes)
        {
            editManager.execute(new ParagraphStyleChangeOperation(
                editManager, paragraphAttributes));
        }

        if (characterAttributes)
        {
            editManager.execute(new StyleChangeOperation(
                editManager, characterAttributes));
        }
    }


		contentChanged = false;
		textChanged = false;

        var containerFormat:IContainerFormat =
            textFlow.containerFormat;
        var paragraphFormat:IParagraphFormat =
            textFlow.paragraphFormat;
        var characterFormat:ICharacterFormat =
            textFlow.characterFormat;
        
        if (!containerFormat || containerFormat.blockProgression == null)
            textFlow.blockProgression = blockProgression;
        if (!characterFormat || characterFormat.color == null)
            textFlow.color = color;
        if (!paragraphFormat || paragraphFormat.direction == null)
            textFlow.direction = direction;
		if (!characterFormat || characterFormat.fontFamily == null)
            textFlow.fontFamily = fontFamily;
		if (!characterFormat || characterFormat.fontSize == null)
            textFlow.fontSize = fontSize;
		if (!characterFormat || characterFormat.fontStyle == null)
		    textFlow.fontStyle = fontStyle;
		if (!characterFormat || characterFormat.fontWeight == null)
		    textFlow.fontWeight = fontWeight;
		if (!characterFormat || characterFormat.kerning == null)
		    textFlow.kerning = kerning;
		if (!characterFormat || characterFormat.lineHeight == null)
		    textFlow.lineHeight = lineHeight;
		if (!containerFormat || containerFormat.lineBreak == null)
		    textFlow.lineBreak = lineBreak;
		if (!characterFormat || characterFormat.lineThrough == null)
		    textFlow.lineThrough = lineThrough;
        if (!paragraphFormat || paragraphFormat.marginBottom == null)
		    textFlow.marginBottom = marginBottom;
        if (!paragraphFormat || paragraphFormat.marginLeft == null)
		    textFlow.marginLeft = marginLeft;
        if (!paragraphFormat || paragraphFormat.marginRight == null)
		    textFlow.marginRight = marginRight;
        if (!paragraphFormat || paragraphFormat.marginTop == null)
		    textFlow.marginTop = marginTop;
        if (!containerFormat || containerFormat.paddingBottom == null)
		    textFlow.paddingBottom = paddingBottom;
        if (!containerFormat || containerFormat.paddingLeft == null)
		    textFlow.paddingLeft = paddingLeft;
        if (!containerFormat || containerFormat.paddingRight == null)
		    textFlow.paddingRight = paddingRight;
        if (!containerFormat || containerFormat.paddingTop == null)
		    textFlow.paddingTop = paddingTop;
        if (!paragraphFormat || paragraphFormat.textAlign == null)
		    textFlow.textAlign = textAlign;
        if (!paragraphFormat || paragraphFormat.textAlignLast == null)
		    textFlow.textAlignLast = textAlignLast;
		if (!characterFormat || characterFormat.textAlpha == null)
		    textFlow.textAlpha = textAlpha;
		if (!characterFormat || characterFormat.textDecoration == null)
		    textFlow.textDecoration = textDecoration;
        if (!paragraphFormat || paragraphFormat.textIndent == null)
		    textFlow.textIndent = textIndent;
		if (!characterFormat || characterFormat.trackingRight == null)
		    textFlow.trackingRight = tracking; // what about trackingLeft?
        if (!containerFormat || containerFormat.verticalAlign == null)
		    textFlow.verticalAlign = verticalAlign;
		if (!characterFormat || characterFormat.whitespaceCollapse == null)
		    textFlow.whitespaceCollapse = whiteSpaceCollapse; // different case

		return textFlow;
