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
, useHandCursor
new UIObject()
static symbolName:String
static symbolOwner:Object
static textColorList
private invalidateFlag:Boolean
private lineWidth:Number
private lineColor:Number
tabEnabled:Boolean
ignoreClassStyleDeclaration:Object
childrenCreated:Boolean
createEvent:Function
dispatchEvent:Function
addEventListener:Function
handleEvent:Function
removeEventListener:Function
buildDepthTable:Function
findNextAvailableDepth:Function
createChildAtDepth:Function
createClassChildAtDepth:Function
createAccessibilityImplementation:Function
private _id:String
validateNow:Boolean
color:Number
fontSize:Number
fontWeight:String
fontFamily:String
fontStyle:String
textAlign:String
textDecoration:String
textIndent:Number
marginLeft:Number
marginRight:Number
embedFonts:Boolean
changeTextStyleInChildren:Function
changeColorStyleInChildren:Function
notifyStyleChangeInChildren:Function
_topmost:Boolean
_color
styleName:String
className:String
stylecache:Object
methodTable:Array
idNames:Array
setStyle:Function
clipParameters:Object
initProperties:Function
__width:Number
__height:Number
private _minHeight:Number
private _minWidth:Number
private _maxHeight:Number
private _maxWidth:Number
private _preferredHeight:Number
private _preferredWidth:Number
private _tf:TextFormat
private tfList:Object
private __onUnload:Function
private _endInit:Function
width: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:Number
minimum height of object
minWidth:Number
minimum width of object
visible:Boolean
True if object is visible
scaleX:Number
100 is standard scale
scaleY:Number
100 is standard scale
function doLater(obj:Object, fn:String):Void
Queues a function to be called later
- Parameters
obj
Object that contains the function fn
Name of function on Object
function invalidateStyle(Void):Void
called if just styles are changing so subclasses don't have to redraw everything
function redraw(bAlways:Boolean):Void
redraws object if you couldn't wait for invalidation to do it
- Parameters
bAlways
if False, doesn't redraw if not invalidated @tiptext Redraws an object immediately @helpid 3971
function move(x:Number, y:Number, noEvent:Boolean):Void
move the object
- Parameters
x
left position of the object y
top position of the object noEvent
if true, doesn't broadcast "move" event @tiptext Moves the object to the specified location @helpid 3970
function setSize(w:Number, h:Number, noEvent:Boolean):Void
size the object
- Parameters
w
width of the object h
height of the object noEvent
if 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):Void
draw 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
name
instance name of text object depth
z order of object text
text of object - Return
- reference to text object
function createObject(linkageName:String, id:String, depth:Number, initobj:Object):MovieClip
create a subobject from its symbol name
- Parameters
id
instance name of object depth
z 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):UIObject
create a subobject from its class definition
- Parameters
id
instance name of object depth
z order of object - Return
- reference to object @tiptext Creates a sub-object using its class name @helpid 3961
function createEmptyObject(id:String, depth:Number):UIObject
create a blank or empty subobject
- Parameters
id
instance name of object depth
z order of object - Return
- reference to object
function destroyObject(id:String):Void
destroy the subobject
- Parameters
id
instance name of object @tiptext Destroys the specified object @helpid 3962
function setSkin(tag:Number, linkageName:String, initObj:Object):MovieClip
- Parameters
tag
id number of skin initObj
object containing initialization properties - Return
- reference to object @helpid 3977
function createSkin(tag:Number):UIObject
- Parameters
tag
id 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