     //----------------------------------
     
     /**
+     *  @private
+     */
+    private var _styleManager:IStyleManager2;
+
+    /**
      *  Returns the StyleManager instance used by this component.
      *  
      *  @langversion 3.0

     */
    public function set moduleFactory(factory:IFlexModuleFactory):void
    {
        var n:int = numChildren;
        for (var i:int = 0; i < n; i++)
        {

     */
    public function get styleManager():IStyleManager2
    {
        if (!_styleManager)
            _styleManager = StyleManager.getStyleManager(moduleFactory);

        return _styleManager;
    }
    
    //----------------------------------
