 import flash.text.engine.TextLine;
 import flash.ui.Keyboard;
 
-import flashx.textLayout.compose.ITextLineCreator;
+import flashx.textLayout.compose.ISWFContext;
 import flashx.textLayout.container.TextContainerManager;
 import flashx.textLayout.conversion.ConversionType;
 import flashx.textLayout.conversion.ITextExporter;

        //    set hostFormat
        //    set compositionWidth/compositionHeight
        //    set horizontalScrollPosition/veriticalScrollPosition
        //    set textLineCreator
        //    updateContainer or compose: always if TextFlowFactory, sometimes 
        //        if flowComposer


            // specify an embedded font.
            if (s == "auto")
            {
                s = _textContainerManager.swfContext ?
                    FontLookup.EMBEDDED_CFF :
                    FontLookup.DEVICE;
            }
