      * 
      *  @langversion 3.0
      *  @playerversion AIR 3
-     *  @productversion Flex 4.5.2
+     *  @productversion Flex 4.6
      */ 
     override public function saveViewData():Object
     {

        }
    }
    
	/**
	 *  @private
	 */
	private function navigatorCallout_mouseDownOutsideHandler(event:Event):void
	{
		hideViewNavigatorCallout();
	}
	
	/**
	 *  @private
	 */
	private function setupNavigator(navigator:ViewNavigatorBase):void
	{
		navigator.setParentNavigator(this);
		
		// Add weak listeners for hide and show events on the navigator.  When
		// a navigator is hidden, its container is removed from layout.
		navigator.addEventListener(FlexEvent.HIDE, navigator_visibilityChangedHandler, false, EventPriority.DEFAULT, true);
		navigator.addEventListener(FlexEvent.SHOW, navigator_visibilityChangedHandler, false, EventPriority.DEFAULT, true);
        
        // Remove the navigator from layout if it isn't visible
        if (navigator.visible == false)
            navigator.includeInLayout = false;
	}
	
	/**
	 *  @private
	 */
	private function cleanUpNavigator(navigator:ViewNavigatorBase):void
	{
		navigator.setParentNavigator(null);
		navigator.removeEventListener(FlexEvent.HIDE, navigator_visibilityChangedHandler);
		navigator.removeEventListener(FlexEvent.SHOW, navigator_visibilityChangedHandler);
	}
	
	/**
	 *  @private
	 */
	private function navigator_visibilityChangedHandler(event:FlexEvent):void
	{
		var navigator:ViewNavigatorBase = event.target as ViewNavigatorBase;
	
        if (event.type == FlexEvent.HIDE && navigator == _calloutNavigator)
            hideViewNavigatorCallout();

        navigator.includeInLayout = navigator.visible;
	}
	
    //--------------------------------------------------------------------------
    //
    //  Overriden Methods: ViewNavigatorBase

    [SkinPart(required="false")]
    /**
     *  The Callout used to display a navigator when 
     *  <code>showFirstViewNavigatorInCallout()</code> is called.  
     *  When creating a custom MXML skin, this component should not be on the display list, 
     *  but instead declared inside a <code>fx:Declarations</code> tag. 
     * 
     *  @langversion 3.0
     *  @playerversion AIR 3
     *  @productversion Flex 4.6
     */
    public var viewNavigatorCallout:Callout;
    
