springroll.LoaderItem Class

Extends createjs.LoadQueue
Module: Core

Represents a single item in the loader queue

_internalStart

()
private

Defined in _internalStart:192

Start the loading internally

_onCompleted

(
  • ev
)
private

Defined in _onCompleted:260

The file was loaded successfully

Parameters:

_onFailed

()
private

Defined in _onFailed:229

There was an error loading the file

_onProgress

(
  • event
)
private

Defined in _onProgress:215

The file load progress event

Parameters:

  • event Object

    The progress event

clear

()

Defined in clear:155

Clear all the data

retry

()

Defined in retry:243

Retry the current load

start

(
  • maxCurrentLoads
)

Defined in start:175

Start the loading

Parameters:

  • maxCurrentLoads Int

    The max number of simultaneous load

toString

() String
public

Defined in toString:118

Represent this object as a string

Returns:

String:

The string representation of this object

_onCompleted

Function private

Defined in _onCompleted:82

The callback when a load queue item completes

_onFailed

Function private

Defined in _onFailed:68

The callback when a load queue item fails

_onProgress

Function private

Defined in _onProgress:75

The callback when a load queue item progresses

basePath

String

Defined in basePath:129

The base path of the load

Default: null

crossOrigin

Boolean

Defined in crossOrigin:142

If this load should be cross origin

Default: false

data

public

Defined in data:46

Data associate with the load

MAX_RETRIES

Int static

Defined in MAX_RETRIES:99

Represent this object as a string

Default: 3

onComplete

Function public

Defined in onComplete:53

The callback function of the load, to call when the load as finished, takes one argument as result

onProgress

Function public

Defined in onProgress:61

The progress callback

preparedUrl

String public

Defined in preparedUrl:39

The actual url of the load

retries

Int

Defined in retries:25

The number of times this load has been retried

url

String public

Defined in url:32

The original input url of the load

verbose

Boolean static

Defined in verbose:109

If the loads should be verbose

Default: false