                 for (var c:int=0; c < styleNames.length; c++)
                 {
                     if (styleNames[c].length) {
-                        classSelectors.push(StyleManager.getStyleDeclaration("." + 
+                        classSelectors.push(styleManager.getStyleDeclaration("." + 
                             styleNames[c]));
                     }
                 }

               className != "mx.core.UITextField")
        {
            var s:CSSStyleDeclaration =
                StyleManager.getStyleDeclaration(className);
            
            if (s)
            {

import mx.managers.ISystemManager;
import mx.styles.CSSStyleDeclaration;
import mx.styles.IStyleClient;
import mx.styles.StyleProtoChain;

use namespace mx_internal;
