             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));
        }
    }


        var p:String;
        var kind:String;
        
        var needContainerFormat:Boolean = false;
        var needParagraphFormat:Boolean = false;
        var needCharacterFormat:Boolean = false;

        if (!names)
        {
            names = TextUtil.ALL_FORMAT_NAMES;
            
            needContainerFormat = true;
            needParagraphFormat = true;
            needCharacterFormat = true;
        }
        else
        {
            for each (p in names)
            {
                kind = TextUtil.FORMAT_MAP[p];

                if (kind == TextUtil.CONTAINER)
                    needContainerFormat = true;
                else if (kind == TextUtil.PARAGRAPH)
                    needParagraphFormat = true;
                else if (kind == TextUtil.CHARACTER)
                    needCharacterFormat = true;
            }
        }
        
        var containerFormat:IContainerFormat;
        var paragraphFormat:IParagraphFormat;
        var characterFormat:ICharacterFormat;
        
        if (needContainerFormat)
        {
            containerFormat =
                selectionManager.getCommonContainerFormat();
        }
        
        if (needParagraphFormat)
        {
            paragraphFormat =
                selectionManager.getCommonParagraphFormat();
        }

        if (needCharacterFormat)
        {
            characterFormat =
                selectionManager.getCommonCharacterFormat();
        }

        var format:Object = {};
        
        for each (p in names)
        {
            kind = TextUtil.FORMAT_MAP[p];
            
            if (kind == TextUtil.CONTAINER)
                format[p] = containerFormat[p];
            else if (kind == TextUtil.PARAGRAPH)
                format[p] = paragraphFormat[p];
            else if (kind == TextUtil.CHARACTER)
                format[p] = characterFormat[p];
        }
        
        return format;
    }

    /**
