User Guide

488 Chapter 6: Components Dictionary
Properties inherited from the UIComponent class
The following table lists the properties the Loader class inherits from the UIComponent class.
When accessing these properties from the Loader object, use the form
LoaderInstance.propertyName.
Event summary for the Loader class
The following table lists events of the Loader class.
Events inherited from the UIObject class
The following table lists the events the Loader class inherits from the UIObject class.
UIObject.right The position of the right edge of the object, relative to the right
edge of its parent. Read-only.
UIObject.scaleX A number indicating the scaling factor in the x direction of the
object, relative to its parent.
UIObject.scaleY A number indicating the scaling factor in the y direction of the
object, relative to its parent.
UIObject.top The position of the top edge of the object, relative to its parent.
Read-only.
UIObject.visible A Boolean value indicating whether the object is visible (true) or
not (
false).
UIObject.width The width of the object, in pixels. Read-only.
UIObject.x The left edge of the object, in pixels. Read-only.
UIObject.y The top edge of the object, in pixels. Read-only.
Property Description
UIComponent.enabled Indicates whether the component can receive focus and input.
UIComponent.tabIndex A number indicating the tab order for a component in a document.
Event Description
Loader.complete Triggered when the content finished loading.
Loader.progress Triggered while content is loading.
Event Description
UIObject.draw Broadcast when an object is about to draw its graphics.
UIObject.hide Broadcast when an object’s state changes from visible to invisible.
UIObject.load Broadcast when subobjects are being created.
UIObject.move Broadcast when the object has moved.
Property Description