BiSerializedLoader
Used to start multiple loaders in the order they were added.
This class extends
BiAbstractLoader
and therefore all methods and fields available for
BiAbstractLoader
are also available for
BiSerializedLoader
.
Constructor
new
BiSerializedLoader
(
)
Parameters
No parameters.
Properties
Methods
| Name | Description |
abort |
Stops the loading |
add |
Adds a loader to the queue |
load |
Starts the loading one loader at a time. One loader finishes loading before the next loader starts. |
Events
| Name | Type | Bubbles | Descripton |
load |
|
Fires when all the loaders have finished loading, or if an error occurs. | |
progress |
|
Fires every time one of the loaders has finished. This is useful for providing visual feedback. |
Static Methods
None.
Static Fields
None.
Remarks
Method Details
abort
Stops the loading
Syntax
object.abort ( )
Parameters
No arguments.
Return Type
void
add
Adds a loader to the queue
Syntax
object.add
(
oLoader
)
Parameters
| Name | Type | Optional | Default | Descripton |
oLoader |
|
The loader to add to the queue |
Return Type
void
load
Starts the loading one loader at a time. One loader finishes loading before the next loader starts.
Syntax
object.load ( )
Parameters
No arguments.
Return Type
void
