Class mx.controls.SimpleButton

MovieClip
   +--mx.core.UIObject
      +--mx.core.UIComponent
         +--mx.controls.SimpleButton

Description

SimpleButton class extends UIComponent use if button does not need to be resized does support icons or text

Field Index

__emphasized, __emphatic, __emphaticStyleName, __state, __toggle, autoRepeat, boundingBox_mc, btnOffset, buttonDownHandler, className, clickHandler, detail, dfi, dfs, disabledIcon, disabledSkin, downIcon, downSkin, dti, dts, emphasized, 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, selected, skinName, stateNames, style3dInset, symbolName, symbolOwner, tagMap, tdi, tds, toggle, 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, value
Inherited from UIComponent
clipParameters, drawFocus, enabled, focusEnabled, focusManager, focusTextField, groupName, height, kStretch, mergedClipParameters, origBorderStyles, origBorderValues, popUp, symbolName, symbolOwner, tabEnabled, tabIndex, width
Inherited from UIObject
__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
Inherited from 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

Method Index

new SimpleButton()

calcSize(), 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(), setLabel(), setSelected(), setSkin(), setState(), setStateVar(), setToggle(), setView(), showEmphasized(), size(), viewIcon(), viewSkin()
Inherited from UIComponent
dispatchValueChangedEvent(), enabledChanged(), findFocusFromObject(), findFocusInChildren(), getFocus(), getFocusManager(), isParent(), onSetFocus(), pressFocus(), releaseFocus(), setFocus(), setVisible()
Inherited from UIObject
__getTextFormat(), _createChildren(), _getTextFormat(), cancelAllDoLaters(), constructObject(), createClassObject(), createEmptyObject(), createLabel(), createObject(), createSkin(), destroyObject(), doLater(), doLaterDispatcher(), drawRect(), getClassStyleDeclaration(), getMinHeight(), getMinWidth(), getSkinIDName(), getStyle(), getStyleName(), initFromClipParameters(), invalidate(), invalidateStyle(), mergeClipParameters(), move(), redraw(), setColor(), setMinHeight(), setMinWidth(), setSize()
Inherited from MovieClip
attachAudio(), 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(), onEnterFrame(), onKeyDown(), onKeyUp(), onLoad(), onMouseDown(), onMouseMove(), onMouseUp(), onUnload(), play(), prevFrame(), removeMovieClip(), setMask(), startDrag(), stop(), stopDrag(), swapDepths(), unloadMovie(), valueOf()

Constructor Detail

SimpleButton

function SimpleButton()

Field Detail

symbolName

static symbolName:String

symbolOwner

static symbolOwner:Object

className

className:String

style3dInset

style3dInset:Number

btnOffset

btnOffset:Number

__toggle

__toggle:Boolean

__state

__state:Boolean

__emphasized

__emphasized:Boolean

__emphatic

__emphatic:Boolean

buttonDownHandler

buttonDownHandler:Function

clickHandler

clickHandler:Function

detail

detail:Number

falseUp

static falseUp:Number

falseDown

static falseDown:Number

falseOver

static falseOver:Number

falseDisabled

static falseDisabled:Number

trueUp

static trueUp:Number

trueDown

static trueDown:Number

trueOver

static trueOver:Number

trueDisabled

static trueDisabled:Number

falseUpSkin

falseUpSkin:String

falseDownSkin

falseDownSkin:String

falseOverSkin

falseOverSkin:String

falseDisabledSkin

falseDisabledSkin:String

trueUpSkin

trueUpSkin:String

trueDownSkin

trueDownSkin:String

trueOverSkin

trueOverSkin:String

trueDisabledSkin

trueDisabledSkin:String

falseUpSkinEmphasized

falseUpSkinEmphasized:String

falseDownSkinEmphasized

falseDownSkinEmphasized:String

falseOverSkinEmphasized

falseOverSkinEmphasized:String

falseDisabledSkinEmphasized

falseDisabledSkinEmphasized:String

trueUpSkinEmphasized

trueUpSkinEmphasized:String

trueDownSkinEmphasized

trueDownSkinEmphasized:String

trueOverSkinEmphasized

trueOverSkinEmphasized:String

trueDisabledSkinEmphasized

trueDisabledSkinEmphasized:String

falseUpIcon

falseUpIcon:String

falseDownIcon

falseDownIcon:String

falseOverIcon

falseOverIcon:String

falseDisabledIcon

falseDisabledIcon:String

trueUpIcon

trueUpIcon:String

trueDownIcon

trueDownIcon:String

trueOverIcon

trueOverIcon:String

trueDisabledIcon

trueDisabledIcon:String

falseUpIconEmphasized

falseUpIconEmphasized:String

falseDownIconEmphasized

falseDownIconEmphasized:String

falseOverIconEmphasized

falseOverIconEmphasized:String

falseDisabledIconEmphasized

falseDisabledIconEmphasized:String

trueUpIconEmphasized

trueUpIconEmphasized:String

trueDownIconEmphasized

trueDownIconEmphasized:String

trueOverIconEmphasized

trueOverIconEmphasized:String

trueDisabledIconEmphasized

trueDisabledIconEmphasized:String

emphasizedStyleDeclaration

static emphasizedStyleDeclaration

skinName

skinName:Object

linkLength

linkLength:Number

preset

preset:Boolean

iconName

iconName:Object

__emphaticStyleName

__emphaticStyleName:String

phase

phase:String

autoRepeat

autoRepeat:Boolean

interval

interval

boundingBox_mc

boundingBox_mc:MovieClip

fui

fui

fus

fus

fdi

fdi

fds

fds

frs

frs

fri

fri

dfi

dfi

dfs

dfs

tui

tui

tus

tus

tdi

tdi

tds

tds

trs

trs

tri

tri

dts

dts

dti

dti

rolloverSkin

rolloverSkin:Object

rolloverIcon

rolloverIcon:Object

upSkin

upSkin:Object

downSkin

downSkin:Object

disabledSkin

disabledSkin:Object

upIcon

upIcon:Object

downIcon

downIcon:Object

disabledIcon

disabledIcon:Object

initializing

initializing:Boolean

idNames

idNames

stateNames

stateNames

refNames

refNames

tagMap

tagMap

toggle

toggle:Boolean

value

value:Boolean

selected

selected:Boolean

emphasized

emphasized:Boolean

Method Detail

init

function init(Void):Void

createChildren

function createChildren(Void):Void

setIcon

function setIcon(tag:
Number, linkageName:String):Object

changeIcon

function changeIcon(tag:
Number, linkageName:String):Void

changeSkin

function changeSkin(tag:
Number, linkageName:String):Void

viewIcon

function viewIcon(varName:
String):Void

removeIcons

function removeIcons()

setSkin

function setSkin(tag:
Number, linkageName:String, initobj:Object):MovieClip

calcSize

function calcSize(Void):Void

viewSkin

function viewSkin(varName:
String, initObj:Object):Void

showEmphasized

function showEmphasized(e:
Boolean):Void

refresh

function refresh(Void):Void

setView

function setView(offset:
Boolean):Void

setStateVar

function setStateVar(state:
Boolean):Void

setState

function setState(state:
Boolean):Void

size

function size(Void):Void

draw

function draw(Void):Void

getState

function getState(Void):
Boolean

setToggle

function setToggle(val:
Boolean)

getToggle

function getToggle(Void):
Boolean

setSelected

function setSelected(val:
Boolean)

getSelected

function getSelected():
Boolean

setEnabled

function setEnabled(val:
Boolean):Void

onPress

function onPress(Void):Void

onPressDelay

function onPressDelay(Void):Void

onPressRepeat

function onPressRepeat(Void):Void

onRelease

function onRelease(Void):Void

onDragOut

function onDragOut(Void):Void

onDragOver

function onDragOver(Void):Void

onReleaseOutside

function onReleaseOutside(Void):Void

onRollOver

function onRollOver(Void):Void

onRollOut

function onRollOut(Void):Void

getLabel

function getLabel(Void):
String

setLabel

function setLabel(val:
String):Void

keyDown

function keyDown(e:
Object):Void

keyUp

function keyUp(e:
Object):Void

onKillFocus

function onKillFocus(newFocus:
Object):Void