         else
         {
             // Next look for class selectors
-            if ((tc === null || !StyleManager.isValidStyleValue(tc)) &&
+            if ((tc === null || !styleManager.isValidStyleValue(tc)) &&
                 (styleName && !(styleName is ISimpleStyleClient)))
             {
                 var classSelector:Object =
                     styleName is String ?
-                    StyleManager.getStyleDeclaration("." + styleName) :
+                    styleManager.getStyleDeclaration("." + styleName) :
                     styleName;
 
                 if (classSelector)

    /**
     *  @private
     * 
     *  Returns the StyleManager object used by this component.
     *  
     *  @langversion 3.0
     *  @playerversion Flash 10

                        sc = decl.getStyle("selectionColor");
                    }

                    if (tc !== null && styleManager.isValidStyleValue(tc))
                        break;
                }
            }
