Field Summary |
| __backgroundWidth |
|
|
|
| __labels: Array |
| Local properties Live Preview support
|
|
| __marginWidth |
|
|
|
| __menuBarItems: Array |
| Runtime operations
|
|
| __menuDataProvider: Object |
|
|
|
| __menuEventHandler: Object |
|
|
|
| __menus: Object |
|
|
|
| __selectFirstItem |
|
|
|
static
| _s_MenuIndex |
| Private statics
|
|
| background_mc: MovieClip |
|
|
|
| boundingBox_mc: MovieClip |
|
|
|
| className: String |
|
|
|
| clipParameters: Object |
|
|
|
| enableByPass: Boolean |
|
|
|
| invUpdateDisplay: Boolean |
|
|
|
| invUpdateSize: Boolean |
|
|
|
| isDown |
|
|
|
| labelField: String |
|
|
|
| labelFunction: Function |
|
|
|
| mask_mc: MovieClip |
|
|
|
| menuBarBackLeftName: String |
|
|
|
| menuBarBackMiddleName: String |
|
|
|
| menuBarBackRightName: String |
|
|
|
| openMenuIndex: Number |
|
|
|
| rebroadcastEvents: Object |
|
|
|
| supposedToLoseFocus: Boolean |
|
|
|
static
| symbolName: String |
|
|
|
static
| symbolOwner: Object |
|
|
|
| tabChildren: Boolean |
|
|
|
| topItemDepth: Number |
|
|
|
static
| version: String |
| Version string Copyright (C) 2003 Macromedia, Inc.
|
|
Fields inherited from class mx.core.UIComponentclipParameters, drawFocus, enabled, focusEnabled, focusManager, focusTextField, groupName, kStretch, mergedClipParameters, origBorderStyles, origBorderValues, popUp, symbolName, symbolOwner, tabEnabled, tabIndex, version |
|
Fields inherited from class mx.core.UIObject__height, __width, _color, _topmost, addEventListener, buildDepthTable, changeColorStyleInChildren, changeTextStyleInChildren, childrenCreated, className, clipParameters, color, createAccessibilityImplementation, createChildAtDepth, createEvent, ction, dispatchEvent, embedFonts, findNextAvailableDepth, fontFamily, fontSize, fontStyle, fontWeight, handleEvent, idNames, ignoreClassStyleDeclaration, initProperties, marginLeft, marginRight, methodTable, notifyStyleChangeInChildren, removeEventListener, setStyle, stylecache, styleName, symbolName, symbolOwner, textAlign, textColorList, textDecoration, textIndent, validateNow, version |
|
Fields inherited from class MovieClip_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 |
|
|
Property Summary |
| dataProvider: Object (read, write) |
|
|
|
| labels: Array (read, write) |
| Live Preview support MR
|
|
|
Properties inherited from class mx.core.UIObjectbottom, height, left, minHeight, minWidth, right, scaleX, scaleY, top, visible, width, x, y |
|
Constructor |
| MenuBar (
)
|
| Lifecycle
|
|
Method Summary |
| addMenu (
arg1, arg2
): Menu |
| Append a menu and activator at the end of this menubar.
|
|
| addMenuAt (
index, arg1, arg2
) |
| Insert a menu and activator into the menubar.
|
|
| changeColorStyleInChildren (
sheet, styleProp: String, newValue
): Void |
|
|
|
| createChildren (
Void
): Void |
|
|
|
| draw (
Void
): Void |
|
|
|
| getMenuAt (
index
): Menu |
| Return the menu at the given index
|
|
| getMenuEnabledAt (
index
) |
| Return the enabled status of a menu
|
|
| handleEvent (
event
) |
|
|
|
| init (
Void
): Void |
| Generic initializer
|
|
| invalidateStyle (
propName : String
): Void |
| Theme support
|
|
| keyDown (
e: Object
): Void |
| Keyboard Navigation Handlers
|
|
| notifyStyleChangeInChildren (
sheet, styleProp: String, newValue
) |
|
|
|
| onItemDragOut (
index : Number
) |
|
|
|
| onItemDragOver (
index : Number
) |
|
|
|
| onItemPress (
index : Number
): Void |
|
|
|
| onItemRelease (
index : Number
) |
|
|
|
| onItemRollOut (
index : Number
) |
|
|
|
| onItemRollOver (
index: Number
): Void |
| Mouse Event Handlers
|
|
| onKillFocus (
) |
|
|
|
| onSetFocus (
) |
|
|
|
| removeMenuAt (
index
) |
| Remove the menu at the given index
|
|
| removeMenuBarItemAt (
index
) |
|
|
|
| setDataProvider (
dp
) |
| Load the state from the given XMLNode object
|
|
| setEnabled (
b: Boolean
): Void |
|
|
|
| setMenuEnabledAt (
index, enable
) |
| Enable/disable a menu
|
|
| showMenu (
index: Number
): Void |
| Show a menuBarItem's menu
|
|
| size (
Void
): Void |
|
|
|
| updateBackgroundDisplay (
) |
| Update the width and placement of the background graphic
|
|
| updateDisplay (
resize: Boolean
): Void |
| Display support Layout current representation of items
|
|
Methods inherited from class mx.core.UIComponentdispatchValueChangedEvent, enabledChanged, findFocusFromObject, findFocusInChildren, getFocus, getFocusManager, init, isParent, onKillFocus, onSetFocus, pressFocus, releaseFocus, setEnabled, setFocus, setVisible, size |
|
Methods inherited from class mx.core.UIObject__getTextFormat, _createChildren, _getTextFormat, cancelAllDoLaters, constructObject, createChildren, createClassObject, createEmptyObject, createLabel, createObject, createSkin, destroyObject, doLater, doLaterDispatcher, draw, drawRect, getClassStyleDeclaration, getMinHeight, getMinWidth, getSkinIDName, getStyle, getStyleName, init, initFromClipParameters, invalidate, invalidateStyle, mergeClipParameters, move, redraw, setColor, setMinHeight, setMinWidth, setSize, setSkin, setVisible, size |
|
Methods inherited from class MovieClipattachAudio, attachMovie, beginFill, beginGradientFill, clear, createEmptyMovieClip, createTextField, curveTo, duplicateMovieClip, endFill, getBounds, getBytesLoaded, getBytesTotal, getDepth, getInstanceAtDepth, getNextHighestDepth, getSWFVersion, getTextSnapshot, getURL, globalToLocal, gotoAndPlay, gotoAndStop, hitTest, lineStyle, lineTo, loadMovie, loadVariables, localToGlobal, moveTo, nextFrame, onData, onDragOut, onDragOver, onEnterFrame, onKeyDown, onKeyUp, onKillFocus, onLoad, onMouseDown, onMouseMove, onMouseUp, onPress, onRelease, onReleaseOutside, onRollOut, onRollOver, onSetFocus, onUnload, play, prevFrame, removeMovieClip, setMask, startDrag, stop, stopDrag, swapDepths, unloadMovie, valueOf |
|
|
|