             }
             else
             {
-                throw new Error("invalid content");
+                textFlow = createTextFlowFromMarkup(_content.toString());
             }
             textInvalid = true;
             dispatchEvent(new Event("textInvalid"));

            textFlow.flowComposer = flowComposer;
            
            // Give it an EditManager to make it editable.
            textFlow.interactionManager = new TextViewEditManager();

            // Listen to events from the TextFlow and its EditManager.
            addListeners(textFlow);

package mx.components
{

import flash.display.BlendMode;
import flash.display.Graphics;
import flash.events.Event;
import flash.geom.Rectangle;
