pixiflash.SpriteSheetTask Class
Load a spritesheet generated from Flash and adds it to the global ss namespace. This namespace is shared with regular CreateJS art, as it can't be changed in Flash's publishing settings. As such, don't name spritesheets for CreateJS and PixiFlash the same thing if both spritesheets are being used by art published from Flash.
Constructor
pixiflash.SpriteSheetTask
(
private
-
asset
Parameters:
-
asset
ObjectThe data properties
-
type
StringAsset type must be "pixi"
-
format
StringAsset format must be "pixiflash.SpriteSheet"
-
src
StringThe source
-
[cache=false]
Boolean optionalIf we should cache the result
-
[id]
String optionalId of asset
-
[complete]
Function optionalThe event to call when done
-
[sizes=null]
Object optionalDefine if certain sizes are not supported
-