Class mx.containers.Window

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

Description

a window with a title bar, caption and optional close button The title bar can be used to drag the window to a new location.

Field Index

__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 Window()

childLoaded(), createChild(), createChildren(), delegateClick(), doLayout(), dragTracking(), draw(), getComponentCount(), getComponentRect(), getViewMetrics(), init(), setEnabled(), startDragging(), stopDragging()
Inherited from ScrollView
__onMouseWheel(), getHPosition(), getHScrollPolicy(), getMaxHPosition(), getVPosition(), getVScrollPolicy(), invalidate(), onScroll(), scrollProxy(), setHPosition(), setHScrollPolicy(), setMaxHPosition(), setScrollProperties(), setVPosition(), setVScrollPolicy(), size()
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

Window

function Window()

Field Detail

symbolName

static symbolName:String

symbolOwner

static symbolOwner:Object

className

className:String

skinIDBorder

static skinIDBorder:Number

skinIDTitleBackground

static skinIDTitleBackground:Number

skinIDForm

static skinIDForm:Number

idNames

idNames:Array

skinTitleBackground

skinTitleBackground:String

skinCloseUp

skinCloseUp:String

skinCloseOver

skinCloseOver:String

skinCloseDown

skinCloseDown:String

skinCloseDisabled

skinCloseDisabled:String

clipParameters

clipParameters:Object

mergedClipParameters

static mergedClipParameters:Boolean

initializing

initializing:Boolean

regX

regX:Number

regY

regY:Number

titleStyleDeclaration

titleStyleDeclaration:String

closeButton

closeButton:Boolean

loadingChild

loadingChild:Boolean

__contentPath

__contentPath:String

modalWindow

modalWindow:MovieClip

content

content:MovieClip

deletePopUp

deletePopUp:Function

contentPath

contentPath:String

back_mc

back_mc:MovieClip

_child0

_child0:MovieClip

boundingBox_mc

boundingBox_mc:MovieClip

button_mc

button_mc:SimpleButton

_title

_title:String

title

title:String
the title/caption displayed in the title bar

Method Detail

init

function init(Void):Void

delegateClick

function delegateClick(obj:
Object):Void

startDragging

function startDragging(Void):Void

stopDragging

function stopDragging(Void):Void

dragTracking

function dragTracking():Void

createChildren

function createChildren(Void):Void

setEnabled

function setEnabled(enable:
Boolean):Void

getComponentCount

function getComponentCount(Void):
Number

getComponentRect

function getComponentRect(container:
Number):Object

draw

function draw(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

createChild

function createChild(id:
String, name:String, props:Object):MovieClip
See Also

mx.core.View

childLoaded

function childLoaded(obj:
MovieClip):Void
Parameters
obj the loaded child