                 // If not, there's no need to regenerate a new one.
                 if (IUITextField(child).inheritingStyles)
                     StyleProtoChain.initTextField(IUITextField(child));
+            }
+        }
+        
+        // Call this method on each non-visual StyleClient
+        if (advanceStyleClientChildren != null)
+        {
+            var nAdvanceStyleChildern:int = advanceStyleClientChildren.length;
+            for (var j:int = 0; j < nAdvanceStyleChildern; j++)
+            {
+                if (advanceStyleClientChildren[j].inheritingStyles !=
+                    StyleProtoChain.STYLE_UNINITIALIZED)
+                {
+                    advanceStyleClientChildren[j].regenerateStyleCache(recursive);
+                }
             }
         }
     }

                    IStyleClient(child).notifyStyleChangeInChildren(styleProp, recursive);
            }
        }
    }
    
    /**

import flash.geom.Rectangle;

import mx.core.FlexVersion;
import mx.styles.IAdvancedStyleClient;
import mx.core.IFlexModule;
import mx.core.IFontContextComponent;
import mx.core.IUIComponent;
