User Guide
Loader component 487
Methods inherited from the UIComponent class
The following table lists the methods the Loader class inherits from the UIComponent class.
When calling these methods from the Loader object, use the form
LoaderInstance.methodName.
Property summary for the Loader class
The following table lists properties of the Loader class.
Properties inherited from the UIObject class
The following table lists the properties the Loader class inherits from the UIObject class. When
accessing these properties from the Loader object, use the form
LoaderInstance.propertyName.
UIObject.setSkin() Sets a skin in the object.
UIObject.setStyle() Sets the style property on the style declaration or object.
Method Description
UIComponent.getFocus() Returns a reference to the object that has focus.
UIComponent.setFocus() Sets focus to the component instance.
Property Description
Loader.autoLoad A Boolean value that indicates whether the content loads
automatically (
true) or you must call Loader.load() (false).
Loader.bytesLoaded A read-only property that indicates the number of bytes that have
been loaded.
Loader.bytesTotal A read-only property that indicates the total number of bytes in
the content.
Loader.content A reference to the content of the loader. This property is read-only.
Loader.contentPath A string that indicates the URL of the content to be loaded.
Loader.percentLoaded A number that indicates the percentage of loaded content. This
property is read-only.
Loader.scaleContent A Boolean value that indicates whether the content scales to fit the
loader (
true), or the loader scales to fit the content (false).
Property Description
UIObject.bottom The position of the bottom edge of the object, relative to the
bottom edge of its parent. Read-only.
UIObject.height The height of the object, in pixels. Read-only.
UIObject.left The left edge of the object, in pixels. Read-only.
Method Description