Class mx.controls.Alert

MovieClip
   +--mx.core.UIObject
      +--mx.core.UIComponent
         +--mx.core.View
            +--mx.core.ScrollView
               +--mx.containers.Window
                  +--mx.controls.Alert

Description

a alert window with a title bar, caption The title bar can be used to drag the alert window to a new location.

Field Index

backgroundColor, buttonDown, buttonDownEmphasized, buttonHeight, buttonOver, buttonOverEmphasized, buttonStyleDeclaration, buttonUp, buttonUpEmphasized, buttonWidth, CANCEL, cancelLabel, className, messageStyleDeclaration, NO, noLabel, NONMODAL, OK, okLabel, P, parent, style, symbolOwner, titleBackground, titleStyleDeclaration, YES, yesLabel
Inherited from Window
__contentPath, _child0, _title, back_mc, boundingBox_mc, button_mc, className, clipParameters, closeButton, content, contentPath, deletePopUp, idNames, initializing, loadingChild, mergedClipParameters, modalWindow, regX, regY, skinCloseDisabled, skinCloseDown, skinCloseOver, skinCloseUp, skinIDBorder, skinIDForm, skinIDTitleBackground, skinTitleBackground, symbolName, symbolOwner, title, titleStyleDeclaration
Inherited from ScrollView
__hPosition, __hScrollPolicy, __maxHPosition, __viewMetrics, __vPosition, __vScrollPolicy, className, columnWidth, heightPadding, hPosition, hScroller, hScrollPolicy, invLayout, MASK_DEPTH, mask_mc, maxHPosition, maxVPosition, numberOfCols, oldRndUp, owner, propsInited, rowC, rowH, scrollAreaChanged, specialHScrollCase, symbolName, symbolOwner, viewableColumns, viewableRows, vPosition, vScroller, vScrollPolicy, widthPadding
Inherited from View
__tabIndex, _loadExternalClass, border_mc, boundingBox_mc, childNameBase, className, createClassChildAtDepth, depth, hasBeenLayedOut, loadExternal, numChildren, symbolName, symbolOwner, tabIndex
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 Alert()

createChildren(), doLayout(), draw(), getViewMetrics(), init(), show(), size()
Inherited from Window
childLoaded(), createChild(), delegateClick(), dragTracking(), getComponentCount(), getComponentRect(), setEnabled(), startDragging(), stopDragging()
Inherited from ScrollView
__onMouseWheel(), getHPosition(), getHScrollPolicy(), getMaxHPosition(), getVPosition(), getVScrollPolicy(), invalidate(), onScroll(), scrollProxy(), setHPosition(), setHScrollPolicy(), setMaxHPosition(), setScrollProperties(), setVPosition(), setVScrollPolicy()
Inherited from View
addLayoutObject(), convertToUIObject(), destroyChildAt(), extension(), getChildAt(), initLayout()
Inherited from UIComponent
dispatchValueChangedEvent(), enabledChanged(), findFocusFromObject(), findFocusInChildren(), getFocus(), getFocusManager(), isParent(), onKillFocus(), 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(), invalidateStyle(), mergeClipParameters(), move(), redraw(), setColor(), setMinHeight(), setMinWidth(), setSize(), setSkin()
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(), onDragOut(), onDragOver(), onEnterFrame(), onKeyDown(), onKeyUp(), onLoad(), onMouseDown(), onMouseMove(), onMouseUp(), onPress(), onRelease(), onReleaseOutside(), onRollOut(), onRollOver(), onUnload(), play(), prevFrame(), removeMovieClip(), setMask(), startDrag(), stop(), stopDrag(), swapDepths(), unloadMovie(), valueOf()

Constructor Detail

Alert

function Alert()

Field Detail

symbolOwner

static symbolOwner:Object

buttonWidth

static buttonWidth:Number

buttonHeight

static buttonHeight:Number

okLabel

static okLabel:String

yesLabel

static yesLabel:String

noLabel

static noLabel:String

cancelLabel

static cancelLabel:String

buttonUp

static buttonUp:String

buttonDown

static buttonDown:String

buttonOver

static buttonOver:String

titleBackground

static titleBackground:String

buttonUpEmphasized

static buttonUpEmphasized:String

buttonOverEmphasized

static buttonOverEmphasized:String

buttonDownEmphasized

static buttonDownEmphasized:String

messageStyleDeclaration

static messageStyleDeclaration:String

titleStyleDeclaration

static titleStyleDeclaration:String

buttonStyleDeclaration

static buttonStyleDeclaration:String

style

static style:Object

className

className:String

backgroundColor

backgroundColor:Number

parent

parent:MovieClip

NONMODAL

static NONMODAL:Number

YES

static YES:Number

NO

static NO:Number

OK

static OK:Number

CANCEL

static CANCEL:Number

P

static P:MovieClip

Method Detail

show

static function show(text, title, flags, parent, listener, icon, defButton):
Alert
static method that shows the alert with title,message and requested buttons

init

function init(Void):Void

createChildren

function createChildren(Void):Void

getViewMetrics

function getViewMetrics(Void):
Object
get the thickness of the edges of the object taking into account the border, title bar and scrollbars if visible
Return
object with left, right, top and bottom edge thickness in pixels

doLayout

function doLayout(Void):Void

draw

function draw(Void):Void

size

function size(Void):Void