The Loader is the singular loader for loading all assets including images, data, code and sounds. Loader supports cache-busting in the browser using dynamic query string parameters.
_getItem
Get a Queue item from the pool or new
The Queue item to use
_onComplete
complete
item
result
Handler for the file complete
complete
Function
Callback function when done
item
springroll.LoaderItem
The LoadQueue
result
Null |
[description]
_putItem
item
Pool the loader queue item
item
springroll.LoaderItem
Loader item that's done
cancel
url
Cancel a load that's currently in progress
url
String
The url
If canceled returns true, false if not canceled