Class mx.core.View

MovieClip
   +--mx.core.UIObject
      +--mx.core.UIComponent
         +--mx.core.View

Description

base class for views/containers

Field Index

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

addLayoutObject(), childLoaded(), convertToUIObject(), createChild(), createChildren(), destroyChildAt(), doLayout(), draw(), extension(), getChildAt(), init(), initLayout(), size()
Inherited from UIComponent
dispatchValueChangedEvent(), enabledChanged(), findFocusFromObject(), findFocusInChildren(), getFocus(), getFocusManager(), isParent(), onKillFocus(), onSetFocus(), pressFocus(), releaseFocus(), setEnabled(), 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(), 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

View

function View()

Field Detail

symbolName

static symbolName:String

symbolOwner

static symbolOwner:Object

className

className:String

border_mc

border_mc:RectBorder

boundingBox_mc

boundingBox_mc:MovieClip

__tabIndex

__tabIndex:Number

childNameBase

static childNameBase:String

depth

depth:Number

createClassChildAtDepth

createClassChildAtDepth:Function

loadExternal

loadExternal:Function

hasBeenLayedOut

private hasBeenLayedOut:Boolean

_loadExternalClass

private _loadExternalClass:String

numChildren

numChildren:Number [Read Only]
get the number of children in this view

tabIndex

tabIndex:Number
By default, views are not tabstops so tabIndex will be undefined. However, some views can be tabstops and will therefore return a tabIndex

Method Detail

init

function init():Void

size

function size():Void

draw

function draw():Void

addLayoutObject

function addLayoutObject(object:
Object):Void
Parameters
object the layout object

createChild

function createChild(className, instanceName:
String, initProps:Object):MovieClip
add a new child object
Parameters
className the name of the symbol, a reference to a class, or file path or URL to the external content
instanceName the instance name of the child
initProps object containing initialization properties
Return
reference to the child object

getChildAt

function getChildAt(childIndex:
Number):UIObject
get the Nth child object
Parameters
childIndex a number from 0 to N-1
Return
a reference to the child @tiptext Returns the child at the specified position @helpid 3403

destroyChildAt

function destroyChildAt(childIndex:
Number):Void
destroy the Nth child object. Remaining child objects get renumbered
Parameters
childIndex a number from 0 to N-1
Return
a reference to the child

initLayout

function initLayout():Void

doLayout

function doLayout():Void

createChildren

function createChildren():Void

convertToUIObject

function convertToUIObject(obj:
MovieClip):Void

childLoaded

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

extension

static function extension()