Field Summary |
| __label: String |
|
|
|
| __labelPlacement: String |
|
|
|
| _color |
|
|
|
| _iconLinkageName: String |
|
|
|
| _inherited_selected: Boolean |
|
|
|
| borderW: Number |
|
|
|
| btnOffset: Number |
| number used to offset the label and/or icon when button is pressed
|
|
| centerContent: Boolean |
|
|
|
| clipParameters: Object |
|
|
|
| falseDisabledIcon: String |
|
|
|
| falseDisabledSkin: String |
|
|
|
| falseDownIcon: String |
|
|
|
| falseDownSkin: String |
|
|
|
| falseOverIcon: String |
|
|
|
| falseOverSkin: String |
|
|
|
| falseUpIcon: String |
|
|
|
| falseUpSkin: String |
|
|
|
| hitArea_mc: MovieClip |
|
|
|
| initIcon |
| //*@private store the linkage name of the icon at initalization
|
|
| labelPath: Object |
|
|
|
static
| mergedClipParameters: Boolean |
|
|
|
static
| symbolName: String |
|
|
|
static
| symbolOwner |
|
|
|
| trueDisabledIcon: String |
|
|
|
| trueDisabledSkin: String |
|
|
|
| trueDownIcon: String |
|
|
|
| trueDownSkin: String |
|
|
|
| trueOverIcon: String |
|
|
|
| trueOverSkin: String |
|
|
|
| trueUpIcon: String |
|
|
|
| trueUpSkin: String |
|
|
|
static
| version: String |
| Copyright (C) 2003 Macromedia, Inc.
|
|
Fields inherited from class mx.controls.SimpleButton__emphasized, __emphatic, __emphaticStyleName, __state, __toggle, autoRepeat, boundingBox_mc, btnOffset, buttonDownHandler, clickHandler, detail, dfi, dfs, disabledIcon, disabledSkin, downIcon, downSkin, dti, dts, emphasizedStyleDeclaration, falseDisabled, falseDisabledIcon, falseDisabledIconEmphasized, falseDisabledSkin, falseDisabledSkinEmphasized, falseDown, falseDownIcon, falseDownIconEmphasized, falseDownSkin, falseDownSkinEmphasized, falseOver, falseOverIcon, falseOverIconEmphasized, falseOverSkin, falseOverSkinEmphasized, falseUp, falseUpIcon, falseUpIconEmphasized, falseUpSkin, falseUpSkinEmphasized, fdi, fds, fri, frs, fui, fus, iconName, idNames, initializing, interval, linkLength, phase, preset, refNames, rolloverIcon, rolloverSkin, skinName, stateNames, style3dInset, symbolName, symbolOwner, tagMap, tdi, tds, tri, trs, trueDisabled, trueDisabledIcon, trueDisabledIconEmphasized, trueDisabledSkin, trueDisabledSkinEmphasized, trueDown, trueDownIcon, trueDownIconEmphasized, trueDownSkin, trueDownSkinEmphasized, trueOver, trueOverIcon, trueOverIconEmphasized, trueOverSkin, trueOverSkinEmphasized, trueUp, trueUpIcon, trueUpIconEmphasized, trueUpSkin, trueUpSkinEmphasized, tui, tus, upIcon, upSkin, version |
|
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 |
| icon: String (read)
|
| sets the associated icon use setIcon() to set the icon
|
|
| icon: (write)
|
|
|
|
| label: String (read, write) |
| gets the associated label textsets the associated label text
|
|
| labelPlacement: String (read, write) |
| returns the label placement of left,right,top, or bottomsets the label placement of left,right,top, or bottom
|
|
|
|
Properties inherited from class mx.core.UIObjectbottom, height, left, minHeight, minWidth, right, scaleX, scaleY, top, visible, width, x, y |
|
Constructor |
| Button (
)
|
|
|
|
Method Summary |
| _getIcon (
Void
): String |
|
|
|
| _setIcon (
linkage
): Void |
|
|
|
| calcSize (
tag: Number, ref: Object
): Void |
|
|
|
| createChildren (
Void
): Void |
|
|
|
| draw (
) |
|
|
|
| getBtnOffset (
Void
): Number |
|
|
|
| getLabel (
Void
): String |
|
|
|
| getLabelPlacement (
Void
): String |
|
|
|
| init (
Void
): Void |
|
|
|
| invalidateStyle (
c: String
): Void |
| called if just styles are changing so subclasses don't have to redraw everything
|
|
| onRelease (
Void
): Void |
| This method calls SimpleButton's onRelease()
|
|
| setColor (
c: Number
): Void |
|
|
|
| setEnabled (
enable: Boolean
): Void |
|
|
|
| setHitArea (
w: Number, h: Number
) |
|
|
|
| setLabel (
label: String
): Void |
|
|
|
| setLabelPlacement (
val: String
): Void |
|
|
|
| setSkin (
tag: Number, linkageName: String, initobj: Object
): MovieClip |
|
|
|
| setView (
offset: Number
): Void |
|
|
|
| size (
Void
): Void |
|
|
|
| viewSkin (
varName: String
): Void |
|
|
|
Methods inherited from class mx.controls.SimpleButtoncalcSize, changeIcon, changeSkin, createChildren, draw, getLabel, getSelected, getState, getToggle, init, keyDown, keyUp, onDragOut, onDragOver, onKillFocus, onPress, onPressDelay, onPressRepeat, onRelease, onReleaseOutside, onRollOut, onRollOver, refresh, removeIcons, setEnabled, setIcon, setSelected, setSkin, setState, setStateVar, setToggle, setView, showEmphasized, size, viewIcon, viewSkin |
|
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 |
|
|
|