     		theSelectors.push(i);
 
     	return theSelectors;
+    }
+
+    /**
+     *  Determines whether any of the selectors registered with the style
+     *  manager have been advanced selectors (descendant selector, id selector,
+     *  non-global class selector, pseudo selector).
+     */ 
+    public function hasAdvancedSelectors():Boolean
+    {
+        return _hasAdvancedSelectors;
     }
 
     /**


            _pseudoSubjects[subject] = true;
        }

        // Flush cache and start over.
        if (_typeSelectorCache)

    public function set inheritingStyles(value:Object):void
    {
        _inheritingStyles = value;
    }

    //----------------------------------
    //  typeHierarchyCache
    //----------------------------------

    /**
     *  @private
     */
    private var _typeHierarchyCache:Object;

    /**
     *  @private
     */
    public function get typeHierarchyCache():Object
    {
        if (_typeHierarchyCache == null)
            _typeHierarchyCache = {};

        return _typeHierarchyCache;
    }

    /**
     * @private
     */ 
    public function set typeHierarchyCache(value:Object):void
    {
        _typeHierarchyCache = value;
    }

    //----------------------------------
