springroll.easeljs.CutsceneTask Class
Loads and instantiates a 'springroll.easeljs.Cutscene'.
Constructor
springroll.easeljs.CutsceneTask
private
Parameters:
-
asset
Object
-
anim
String | Object
-
animClass
String
The name of the animation class
-
width
Int
The width of the animation
-
height
Int
The height of the animation
-
[audio]
Array
optional
The collection of audio files
-
[images]
Array
optional
The map of the images to load
-
[fps]
String
optional
The animation framerate, defaults to Application framerate
-
[cache=false]
Boolean
optional
If we should cache the result
-
[id]
String
optional
-
[complete]
Function
optional
The event to call when done
-
[libItem='lib']
String
optional
The global window object for symbols
-
[imagesName='images']
String
optional
The global window object for images
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
animClass
String
The name of the animation class
audio
Array
The collection of objects with alias, start and sync property
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
fps
Int
The framerate, defaults to Application framerate
height
Int
The designed height of the animation
images
Object
The collection of images to preload, will be cached
imagesName
String
The name of the window object images hang on
Default: 'images'
libName
String
The name of the window object library items hang on
Default: 'lib'
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
width
Int
The designed width of the animation