     // Methods
     //
     //--------------------------------------------------------------------------
+
+    private var _isOverlay:Boolean;
     
     /**
      *  @private

        
        addChild(contentGroup);
        addChild(actionBar);
    }
    
    /**
     *  @private
     *  When the current state is set, need to invalidate the display list
     *  so that a validation pass runs. 
     */
    override public function set currentState(value:String):void
    {
        if (super.currentState != value)
        {
            super.currentState = value;
            
            // Force a layout pass on the components
            invalidateSize();
            invalidateDisplayList();
        }
    }
    
    /**

        }
    }
    
    override protected function commitCurrentState():void
    {
        super.commitCurrentState();
        
        _isOverlay = (currentState.indexOf("Overlay") >= 1);
        
        // Force a layout pass on the components
        invalidateSize();
        invalidateDisplayList();
    }
    
    /**
     *  @private
     */
