 			move(menuLocation.x, menuLocation.y);
 		}
 		
+		private function isItemEnabled(item:SubMenuItem, ..._):Boolean
+		{
+			return getLabel(item) && (item.shown == null || item.shown());
+		}
+		
 		private const tempBounds:Bounds2D = new Bounds2D();
 	}
 }

		public static const LABEL:String = 'label';
		public static const LISTENER:String = 'listener';
		public static const PARAMS:String = 'params';
		
		/**
		 * Removes all menu items

	public var label:Object;
	public var listener:Function;
	public var params:Array;
	public var shown:Function;
}
