springroll.easeljs.BitmapMovieClipTask Class

Extends springroll.TextureAtlasTask
Module: EaselJS Animation

Internal class for loading an instantiating a BitmapMovieClip.

Constructor

springroll.easeljs.BitmapMovieClipTask

(
  • asset
)
private

Parameters:

  • asset Object

    The data properties

    • anim String

      Path to the JSON configuration for BitmapMovieClip

    • atlas String

      The TextureAtlas source data

    • [cache=false] Boolean optional

      If we should cache the result

    • [image] String optional

      The atlas image path

    • [color] String optional

      The color image path, if not using image property

    • [alpha] String optional

      The alpha image path, if not using image property

    • [id] String optional

      Id of asset

    • [complete] Function optional

      The event to call when done

    • [sizes=null] Object optional

      Define if certain sizes are not supported

Methods

Properties

start

(
  • callback
)

Defined in start:54

Start the task

Parameters:

  • callback Function

    Callback when finished

test

(
  • asset
)
Boolean
static

Defined in test:42

Test if we should run this task

Parameters:

  • asset Object

    The asset to check

Returns:

Boolean:

If the asset is compatible with this asset

anim

String

Defined in anim:32

The BitmapMovieClip data source path