pixiflash.FlashArtTask Class
Loads a FlashArt, making it easier to load and unload PixiFlash art.
Constructor
pixiflash.FlashArtTask
(
private
-
asset
Parameters:
-
asset
ObjectThe data properties
-
type
StringAsset type must be "pixi"
-
format
StringAsset format must be "pixiflash.FlashArt"
-
src
StringThe source
-
images
ArrayAn array of Image, TextureAtlas, or SpriteSheet assets to load
-
[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
-
Methods
Properties
images
Array
Any image, atlas, or SpriteSheet assets that should be loaded along with this piece of flash art.