                         sc = typeSelector.getStyle("selectionColor");
                     }
 
-                    if (tc !== null && StyleManager.isValidStyleValue(tc))
+                    if (tc !== null && styleManager.isValidStyleValue(tc))
                         break;
                 }
             }

    [Inspectable(environment="none")]

    /**
     *  The moduleFactory that is used to create TextFields in the correct SWF context. This is necessary so that
     *  embedded fonts will work.
     *  
     *  @langversion 3.0
     *  @playerversion Flash 9

     *  not the same as <code>false</code>, <code>""</code>,
     *  <code>NaN</code>, <code>0</code>, or <code>null</code>.
     *  No valid style value is ever <code>undefined</code>.
     *  You can use the method
     *  <code>IStyleManager2.isValidStyleValue()</code>
     *  to test whether the value was set.</p>
     *
     *  @param styleProp Name of the style property.
