MovieClip +--mx.core.UIObject
The base class for all components and graphical objects. UIObjects support events and styles and resize by scaling.
__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_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, useHandCursornew UIObject()
static symbolName:Stringstatic symbolOwner:Objectstatic textColorListprivate invalidateFlag:Booleanprivate lineWidth:Numberprivate lineColor:NumbertabEnabled:BooleanignoreClassStyleDeclaration:ObjectchildrenCreated:BooleancreateEvent:FunctiondispatchEvent:FunctionaddEventListener:FunctionhandleEvent:FunctionremoveEventListener:FunctionbuildDepthTable:FunctionfindNextAvailableDepth:FunctioncreateChildAtDepth:FunctioncreateClassChildAtDepth:FunctioncreateAccessibilityImplementation:Functionprivate _id:StringvalidateNow:Booleancolor:NumberfontSize:NumberfontWeight:StringfontFamily:StringfontStyle:StringtextAlign:StringtextDecoration:StringtextIndent:NumbermarginLeft:NumbermarginRight:NumberembedFonts:BooleanchangeTextStyleInChildren:FunctionchangeColorStyleInChildren:FunctionnotifyStyleChangeInChildren:Function_topmost:Boolean_colorstyleName:StringclassName:Stringstylecache:ObjectmethodTable:ArrayidNames:ArraysetStyle:FunctionclipParameters:ObjectinitProperties:Function__width:Number__height:Numberprivate _minHeight:Numberprivate _minWidth:Numberprivate _maxHeight:Numberprivate _maxWidth:Numberprivate _preferredHeight:Numberprivate _preferredWidth:Numberprivate _tf:TextFormatprivate tfList:Objectprivate __onUnload:Functionprivate _endInit:Functionwidth:Number [Read Only]width of object Read-Only: use setSize() to change.
height:Number [Read Only]height of object Read-Only: use setSize() to change.
left:Number [Read Only]left of object Read-Only: use move() to change.
x:Number [Read Only]x = left of object Read-Only: use move() to change.
top:Number [Read Only]top of object Read-Only: use move() to change.
y:Number [Read Only]y = top of object Read-Only: use move() to change.
right:Number [Read Only]right of object relative to its parent's right edge. Read-Only: use setSize() to change.
bottom:Number [Read Only]bottom of object relative to its parent's bottom Read-Only: use setSize() to change.
minHeight:Numberminimum height of object
minWidth:Numberminimum width of object
visible:BooleanTrue if object is visible
scaleX:Number100 is standard scale
scaleY:Number100 is standard scale
function doLater(obj:Object, fn:String):VoidQueues a function to be called later
- Parameters
objObject that contains the function fnName of function on Object
function invalidateStyle(Void):Voidcalled if just styles are changing so subclasses don't have to redraw everything
function redraw(bAlways:Boolean):Voidredraws object if you couldn't wait for invalidation to do it
- Parameters
bAlwaysif False, doesn't redraw if not invalidated @tiptext Redraws an object immediately @helpid 3971
function move(x:Number, y:Number, noEvent:Boolean):Voidmove the object
- Parameters
xleft position of the object ytop position of the object noEventif true, doesn't broadcast "move" event @tiptext Moves the object to the specified location @helpid 3970
function setSize(w:Number, h:Number, noEvent:Boolean):Voidsize the object
- Parameters
wwidth of the object hheight of the object noEventif true, doesn't broadcast "resize" event @tiptext Resizes the object to the specified size @helpid 3976
function drawRect(x1:Number, y1:Number, x2:Number, y2:Number):Voiddraw unfilled rectangle on the screen
- Parameters
x1(x1, y1) is one corner of rectangle y1(x1, y1) is one corner of rectangle x2(x2, y2) is other corner of rectangle y2(x2, y2) is other corner of rectangle
function createLabel(name:String, depth:Number, text):TextField
- Parameters
nameinstance name of text object depthz order of object texttext of object - Return
- reference to text object
function createObject(linkageName:String, id:String, depth:Number, initobj:Object):MovieClipcreate a subobject from its symbol name
- Parameters
idinstance name of object depthz order of object - Return
- reference to object @tiptext Creates a sub-object using its symbol name @helpid 3960
function createClassObject(className:Function, id:String, depth:Number, initobj:Object):UIObjectcreate a subobject from its class definition
- Parameters
idinstance name of object depthz order of object - Return
- reference to object @tiptext Creates a sub-object using its class name @helpid 3961
function createEmptyObject(id:String, depth:Number):UIObjectcreate a blank or empty subobject
- Parameters
idinstance name of object depthz order of object - Return
- reference to object
function destroyObject(id:String):Voiddestroy the subobject
- Parameters
idinstance name of object @tiptext Destroys the specified object @helpid 3962
function setSkin(tag:Number, linkageName:String, initObj:Object):MovieClip
- Parameters
tagid number of skin initObjobject containing initialization properties - Return
- reference to object @helpid 3977
function createSkin(tag:Number):UIObject
- Parameters
tagid number of skin - Return
- reference to object
function getStyle(styleProp:String)get a style property
- Parameters
- Return
- Variant the style value @tiptext Gets the style value associated with the style property @helpid 3965