     //----------------------------------
     //  viewMenuOpen
     //----------------------------------
-    private var _viewMenuOpen:Boolean = false;
     
     /**
      *  Opens the view menu if set to true and closes it if set to false. 

import mx.events.FlexEvent;
import mx.events.FlexMouseEvent;
import mx.events.ResizeEvent;
import mx.managers.PopUpManager;

import spark.components.Application;
import spark.components.View;

     */ 
    public function set viewMenuOpen(value:Boolean):void
    {
        if (value == viewMenuOpen)
            return;
        
        if (!viewMenu || !activeView.viewMenuItems || activeView.viewMenuItems.length == 0)
            return;
        
        if (value)
            openViewMenu();
        else
            closeViewMenu();
