MovieClip
+--mx.core.UIObject
+--mx.core.UIComponent
+--mx.controls.MenuBarMenuBar class - extends UIComponent - gives the user the ability to select an option from a menu within a series of menus
__backgroundWidth, __labels, __marginWidth, __menuBarItems, __menuDataProvider, __menuEventHandler, __menus, __selectFirstItem, _s_MenuIndex, background_mc, boundingBox_mc, className, clipParameters, dataProvider, enableByPass, invUpdateDisplay, invUpdateSize, isDown, labelField, labelFunction, labels, mask_mc, menuBarBackLeftName, menuBarBackMiddleName, menuBarBackRightName, openMenuIndex, rebroadcastEvents, supposedToLoseFocus, symbolName, symbolOwner, tabChildren, topItemDepthclipParameters, drawFocus, enabled, focusEnabled, focusManager, focusTextField, groupName, height, kStretch, mergedClipParameters, origBorderStyles, origBorderValues, popUp, symbolName, symbolOwner, tabEnabled, tabIndex, width__height, __onUnload, __width, _color, _endInit, _id, _maxHeight, _maxWidth, _minHeight, _minWidth, _preferredHeight, _preferredWidth, _tf, _topmost, addEventListener, bottom, buildDepthTable, changeColorStyleInChildren, changeTextStyleInChildren, childrenCreated, className, clipParameters, color, createAccessibilityImplementation, createChildAtDepth, createClassChildAtDepth, createEvent, dispatchEvent, embedFonts, findNextAvailableDepth, fontFamily, fontSize, fontStyle, fontWeight, handleEvent, height, idNames, ignoreClassStyleDeclaration, initProperties, invalidateFlag, left, lineColor, lineWidth, marginLeft, marginRight, methodTable, minHeight, minWidth, notifyStyleChangeInChildren, removeEventListener, right, scaleX, scaleY, setStyle, stylecache, styleName, symbolName, symbolOwner, tabEnabled, textAlign, textColorList, textDecoration, textIndent, tfList, top, validateNow, visible, width, x, y_alpha, _currentframe, _droptarget, _focusrect, _framesloaded, _height, _lockroot, _name, _parent, _quality, _rotation, _soundbuftime, _target, _totalframes, _url, _visible, _width, _x, _xmouse, _xscale, _y, _ymouse, _yscale, enabled, focusEnabled, hitArea, tabChildren, tabEnabled, tabIndex, tooltipText, trackAsMenu, useHandCursornew MenuBar()
static symbolName:Stringstatic symbolOwner:ObjectclassName:Stringstatic _s_MenuIndex__labels:Array__menuBarItems:Array__menus:Object__menuDataProvider:ObjecttopItemDepth:NumberopenMenuIndex:NumberisDownboundingBox_mc:MovieClipbackground_mc:MovieClipmask_mc:MovieClipmenuBarBackLeftName:StringmenuBarBackRightName:StringmenuBarBackMiddleName:String__selectFirstItem__backgroundWidth__marginWidth__menuEventHandler:ObjectinvUpdateDisplay:BooleaninvUpdateSize:BooleantabChildren:BooleanenableByPass:BooleansupposedToLoseFocus:BooleanlabelField:StringlabelFunction:FunctionclipParameters:ObjectrebroadcastEvents:ObjectdataProvider:Objectlabels:Arrayfunction addMenu(arg1, arg2):MenuAppend a menu and activator at the end of this menubar.
- Parameters
arg1may be either (1) a String (to be used as the item's label), (2) or an xmlNode arg2may be either (1) undefined, (2) a menu, (3) or an xml/xmlNode @returns Return the reference to the new Menu. @tiptext Append a new menu item into the menubar @helpid 3442
function addMenuAt(index, arg1, arg2)Insert a menu and activator into the menubar.
- Parameters
indexthe index where the menu should be inserted arg1may be either (1) a String (to be used as the item's label), (2) or an xmlNode arg2may be either (1) undefined, (2) a menu, (3) or an xml/xmlNode @returns Return the reference to the new Menu. @tiptext Insert a new menu item into the menubar at the given index @helpid 3443
function getMenuAt(index):MenuReturn the menu at the given index
- Parameters
indexthe index of the menu instance to return @returns a reference to the menu at that specified index @tiptext Return the menu item at a specific index. @helpid 3444
function removeMenuAt(index)Remove the menu at the given index
- Parameters
indexthe index of the menu instance to remove @returns a reference to the menu that was removed @tiptext Remove the menu item at a specific index. @helpid 3445
function setMenuEnabledAt(index, enable)Enable/disable a menu
- Parameters
indexthe index of the menu instance to enable
function getMenuEnabledAt(index)Return the enabled status of a menu
- Parameters
indexthe index of the menu instance @returns a Boolean of the enabled state of the specified menu @tiptext Return the enabled state of the menu item at a specific index. @helpid 3447
function changeColorStyleInChildren(sheet, styleProp:String, newValue):Void