     //--------------------------------------------------------------------------
 
     /**
+     *  @private
      *  Returns the name of the state to be applied to the skin. For example, a
      *  Button component could return the String "up", "down", "over", or "disabled" 
      *  to specify the state.

            dispatchEvent(new Event("menuChanged"));
        }

        if (showTitleBarChanged)
        {
            if (titleBar) 
            {
                titleBar.visible = _showTitleBar;
                titleBar.includeInLayout = _showTitleBar;
            }
            
            showTitleBarChanged = false;
        }

        if (titleChanged)
        {
            if (!nativeWindow.closed)

    /**
     *  @private
     */
    private function window_closeEffectEndHandler(event:Event):void
    {
        removeEventListener(EffectEvent.EFFECT_END, window_closeEffectEndHandler);
