MovieClip +--mx.core.UIObject +--mx.core.UIComponent +--mx.controls.MenuBar
MenuBar 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
, topItemDepth
clipParameters
, 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
, useHandCursor
new MenuBar()
static symbolName:String
static symbolOwner:Object
className:String
static _s_MenuIndex
__labels:Array
__menuBarItems:Array
__menus:Object
__menuDataProvider:Object
topItemDepth:Number
openMenuIndex:Number
isDown
boundingBox_mc:MovieClip
background_mc:MovieClip
mask_mc:MovieClip
menuBarBackLeftName:String
menuBarBackRightName:String
menuBarBackMiddleName:String
__selectFirstItem
__backgroundWidth
__marginWidth
__menuEventHandler:Object
invUpdateDisplay:Boolean
invUpdateSize:Boolean
tabChildren:Boolean
enableByPass:Boolean
supposedToLoseFocus:Boolean
labelField:String
labelFunction:Function
clipParameters:Object
rebroadcastEvents:Object
dataProvider:Object
labels:Array
function addMenu(arg1, arg2):Menu
Append a menu and activator at the end of this menubar.
- Parameters
arg1
may be either (1) a String (to be used as the item's label), (2) or an xmlNode arg2
may 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
index
the index where the menu should be inserted arg1
may be either (1) a String (to be used as the item's label), (2) or an xmlNode arg2
may 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):Menu
Return the menu at the given index
- Parameters
index
the 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
index
the 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
index
the index of the menu instance to enable
function getMenuEnabledAt(index)
Return the enabled status of a menu
- Parameters
index
the 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