 			    '<content>' + markup + '</content>' +
 			'</TextGraphic>';
 		
-		return TextFilter.importFromString(markup, TextFilter.FXG_FORMAT);
+		return TextFilter.importToFlow(markup, TextFilter.FXG_FORMAT);
 	}
 
 	/**

import flash.display.DisplayObjectContainer;
import flash.geom.Rectangle;

import flex.graphics.graphicsClasses.TextFlowComposer;
import flex.graphics.graphicsClasses.TextGraphicElement;
import flex.utils.TextUtil;

import text.elements.FlowElement;
import text.elements.ParagraphElement;
import text.elements.SpanElement;
import text.elements.TextFlow;
import text.formats.ICharacterFormat;
import text.formats.IContainerFormat;
import text.formats.IParagraphFormat;
import text.importExport.TextFilter;

//--------------------------------------
//  Styles

		    {
			    if (text != null && text != "")
			    {
				    textFlow = TextFilter.importToFlow(text, TextFilter.PLAIN_TEXT_FORMAT);
			    }
			    else
			    {
