 		var nextY:Number = 0;
 		var textLine:TextLine;
         
-        var textLineCreator:ITextLineCreator =
-        	ITextLineCreator(embeddedFontContext);
+        var swfContext:ISWFContext = ISWFContext(embeddedFontContext);
         			
 		// For truncation, need to know if all lines have been composed.
         var createdAllLines:Boolean = false;

		    }
		    else
		    {
                if (textLineCreator)
                {
                    nextTextLine = textLineCreator.createTextLine(
               			textBlock, textLine, maxLineWidth);
                }
                else
                {

import flash.text.engine.TextElement;
import flash.text.engine.TextLine;

import flashx.textLayout.compose.ISWFContext;
import flashx.textLayout.compose.TextLineRecycler;

import mx.core.IEmbeddedFontRegistry;
