             className = getTextFieldClassName();
             if (className == "mx.core::UIFTETextField")
                 classObj = Class(ApplicationDomain.currentDomain.
-                                                    getDefinition(className));
-        }
-                               
+                    getDefinition(className));
+        }
+        
+        // Save for hasFontContextChanged().
+        oldEmbeddedFontContext = getFontContext(fontName, bold, italic, 
+            className == "mx.core::UIFTETextField");
+        
+        var moduleContext:IFlexModuleFactory = oldEmbeddedFontContext ?
+                                               oldEmbeddedFontContext :
+                                               moduleFactory;
+        
         // Not in font registry, so create in this font context.
         var obj:Object = createInModuleContext(moduleContext, className);
 

     *  where an object wanting to  use the font should be created.
     */
    mx_internal function getFontContext(fontName:String, bold:Boolean,
                                        italic:Boolean):IFlexModuleFactory
    {
        if (noEmbeddedFonts) 
            return null;


import flash.accessibility.Accessibility;
import flash.accessibility.AccessibilityProperties;
import flash.display.BlendMode;
import flash.display.DisplayObject;
import flash.display.DisplayObjectContainer;
import flash.display.GradientType;
import flash.display.Graphics;
import flash.display.InteractiveObject;
import flash.display.Loader;
import flash.display.Shader;
import flash.display.Sprite;
import flash.display.Stage;
import flash.events.Event;
