 	 */
 	private function importMarkup(markup:String):TextFlow
 	{
-		markup =
-			'<TextGraphic xmlns="http://ns.adobe.com/fxg/2008">' +
-			    '<content>' + markup + '</content>' +
-			'</TextGraphic>';
+		markup = '<TextFlow xmlns="http://ns.adobe.com/tcal/2008">' +
+                 markup +
+                 '</TextFlow>';
 		
-		return TextFilter.importToFlow(markup, TextFilter.FXG_FORMAT);
+		return textImporter.importToFlow(markup);
 	}
 
 	/**

import flashx.tcal.compose.StandardFlowComposer;
import flashx.tcal.container.DisplayObjectContainerController;
import flashx.tcal.container.IContainerController;
import flashx.tcal.conversion.TextFilter;
import flashx.tcal.conversion.ConversionType;
import flashx.tcal.edit.EditManager;

{
    include "../core/Version.as";
        
	//--------------------------------------------------------------------------
	//
	//  Class variables
	//
	//--------------------------------------------------------------------------

	/**
	 *  @private
     *  Since this static var gets initialized by calling a method
     *  in another class, we initialize it in the constructor to avoid
     *  any class-initialization-order problems.
	 */
    private static var textImporter:ITextImporter;

    //--------------------------------------------------------------------------
    //
    //  Constructor
