 			case "menuHide":
 			{
 				if (!MenuEvent(event).menu.parentMenu)
-					Accessibility.sendEvent(master, 0, EVENT_SYSTEM_MENUEND);
+					Accessibility.sendEvent(master, 0, AccConst.EVENT_SYSTEM_MENUEND);
 				break;
 			}
 
 			case "focusIn":
 			{
-				Accessibility.sendEvent(master, 0, EVENT_SYSTEM_MENUSTART);
+				Accessibility.sendEvent(master, 0, AccConst.EVENT_SYSTEM_MENUSTART);
 				break;
 			}
 			
 			case "focusOut":
 			{
 				if (MenuBar(master).selectedIndex == -1)
-					Accessibility.sendEvent(master, 0, EVENT_SYSTEM_MENUEND);
+					Accessibility.sendEvent(master, 0, AccConst.EVENT_SYSTEM_MENUEND);
 				break;
 			}
 		}


import flash.accessibility.Accessibility;
import flash.events.Event;
import mx.controls.MenuBar;
import mx.core.UIComponent;
import mx.core.mx_internal;


			if (!menuBar.menuBarItems[index] || !menuBar.menuBarItems[index].enabled)
			{
				accState |= AccConst.STATE_SYSTEM_UNAVAILABLE;
			}
			else
			{
				accState |= AccConst.STATE_SYSTEM_SELECTABLE | AccConst.STATE_SYSTEM_FOCUSABLE;
				
				// if (menuBar.getMenuAt(index))
				accState |= AccConst.STATE_SYSTEM_HASPOPUP;

				if (index == menuBar.selectedIndex)
					accState |= AccConst.STATE_SYSTEM_HOTTRACKED | AccConst.STATE_SYSTEM_FOCUSED;
			}
		}
		return accState;
