 
     //--------------------------------------------------------------------------
     //
-    //  Methods: ITextLineCreator
+    //  Methods: IFlexModuleFactory
     //
     //--------------------------------------------------------------------------
 
     /**
-	 *  Implementation of ITextLineCreator.createTextLine 
-   	 */
-    public function createTextLine(textBlock:TextBlock, previousLine:TextLine=null, width:Number=1000000, lineOffset:Number=0.0, fitSomething:Boolean=false):TextLine
-    {
-	    return textBlock.createTextLine(previousLine, width, lineOffset, fitSomething);
-    }
-
-  	/**
-	 *  Implementation of ITextLineCreator.recreateTextLine 
-   	 */
-    public function recreateTextLine(textBlock:TextBlock, textLine:TextLine, previousLine:TextLine=null, width:Number=1000000, lineOffset:Number=0.0, fitSomething:Boolean=false):TextLine
-    {
-	    return textBlock["recreateTextLine"] ? textBlock["recreateTextLine"](textLine, previousLine, width, lineOffset, fitSomething) : null;
-    }
-
-    //--------------------------------------------------------------------------
-    //
-    //  Methods: Initialization
-    //
-    //--------------------------------------------------------------------------
-
-    /**
-     *   A factory method that requests an instance of a
+     *  A factory method that requests an instance of a
      *  definition known to the module.
      * 
      *  You can provide an optional set of parameters to let building

 *  @productversion Flex 3
 */
public class SystemManager extends MovieClip
                           implements IChildList, IFlexDisplayObject,
                           IFlexModuleFactory, ISystemManager, ISWFBridgeProvider, ITextLineCreator
{
    include "../core/Version.as";


    public function isFontFaceEmbedded(textFormat:TextFormat):Boolean
    {
        var fontName:String = textFormat.font;
        var bold:Boolean = textFormat.bold;
        var italic:Boolean = textFormat.italic;

        var fontList:Array = Font.enumerateFonts();
        
        var n:int = fontList.length;
        for (var i:int = 0; i < n; i++)
        {
            var font:Font = Font(fontList[i]);
            if (font.fontName == fontName)
            {
                var style:String = "regular";
                if (bold && italic)
                    style = "boldItalic";
                else if (bold)
                    style = "bold";
                else if (italic)
                    style = "italic";

                if (font.fontStyle == style)
