 
 	//--------------------------------------------------------------------------
 	//
-	//  Constants
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  @private
-	 */
-	private static const ROLE_SYSTEM_MENUITEM:uint = 0x0C;
-
-	/**
-	 *  @private
-	 */
-	private static const STATE_SYSTEM_FOCUSABLE:uint = 0x00100000;
-	
-	/**
-	 *  @private
-	 */
-	private static const STATE_SYSTEM_FOCUSED:uint = 0x00000004;
-	
-	/**
-	 *  @private
-	 */
-	private static const STATE_SYSTEM_HASPOPUP:uint = 0x40000000;
-	
-	/**
-	 *  @private
-	 */
-	private static const STATE_SYSTEM_HOTTRACKED:uint = 0x00000080;
-	
-	/**
-	 *  @private
-	 */
-	private static const STATE_SYSTEM_SELECTABLE:uint = 0x00200000;
-	
-	/**
-	 *  @private
-	 */
-	private static const STATE_SYSTEM_UNAVAILABLE:uint = 0x00000001;
-	
-	/**
-	 *  @private
-	 */
-	private static const EVENT_OBJECT_FOCUS:uint = 0x8005;
-	
-	/**
-	 *  @private
-	 */
-	private static const EVENT_SYSTEM_MENUEND:uint = 0x00000005;
-
-	/**
-	 *  @private
-	 */
-	private static const EVENT_SYSTEM_MENUSTART:uint = 0x00000004;
-
-	/**
-	 *  @private
-	 */
-	private static const EVENT_OBJECT_SELECTION:uint = 0x8006;
-	
-	//--------------------------------------------------------------------------
-	//
 	//  Class methods
 	//
 	//--------------------------------------------------------------------------


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

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

					var childID:uint = index + 1;

					Accessibility.sendEvent(master, childID,
											AccConst.EVENT_OBJECT_FOCUS);

					Accessibility.sendEvent(master, childID,
											AccConst.EVENT_OBJECT_SELECTION);
				}

				break;
