springroll.easeljs.SpriteSheetTask Class
Create a createjs.SpriteSheet object, see SpriteSheet for more information
Constructor
springroll.easeljs.SpriteSheetTask
private
Parameters:
-
asset
Object
-
images
Array
-
frames
Array
The SpriteSheet source frame data
-
type
String
Asset type must be "easeljs"
-
[cache=false]
Boolean
optional
If we should cache the result
-
[id]
String
optional
-
[complete]
Function
optional
The event to call when done
-
[globalProperty='ss']
String
optional
The global window object for spritesheets
destroy
()
Destroy this and discard
filter
protected
Add the sizing to each filter
load
protected
Pass-through to the Application load method
simpleLoad
(
-
url
-
complete
-
[progress]
-
[data]
)
protected
Pass-through to the Application Loader.load
Parameters:
-
url
String
Path to file to load
-
complete
Function
The callback
-
[progress]
Function
optional
The load progress
-
[data]
Object
optional
Additiona data
test
Boolean
static
Test if we should run this task
Returns:
Boolean:
If the asset is compatible with this asset
cache
Boolean
If we should cache the load and use later
Default: false
complete
Function
The user call to fire when completed, returns the arguments
result, original, and additionalAssets
Default: null
frames
Array | Object
The frame definitions as used by the createjs.SpriteSheet object
globalProperty
String
The name of the window object library items hang on
Default: 'ss'
images
String
The collection of images paths
original
Object
Reference to the original asset data
status
Int
The current status of the task (waiting, running, etc)
Default: 0
type
String
The task type for display filter