springroll.easeljs.ReversePlayback Class

Create an update listener that checks plays the animation in reverse. Requires the animation to have the same labeling system as the springroll.Animator system. i.e. each animation must have a corresponding ending frame marked with a '_stop' and '_loop' suffixes, for instance: "walk" requires "walk_loop"

_buildDictionary

()
private

Defined in _buildDictionary:49

Build a dictionary of all animations start and end frame positions'

goToPreviousFrame

()

Go to the previous frame of the animation

play

(
  • label
)

Defined in play:91

Play the specificied animation

Parameters:

stop

()

Defined in stop:138

End the frame update loop

update

(
  • elapsed
)

Defined in update:123

Update the animation when framerate matches animation's framerate

Parameters:

  • elapsed Number

    Time in milleseconds since last frame update

clip

createjs.MovieClip

Defined in clip:24

The animation clip to play

frameDictionary

Object

Defined in frameDictionary:36

The list of frame events

frameRate

Int

Defined in frameRate:30

The framerate which to playback the clip