springroll.easeljs.Animator Class

Deprecated: since version 0.4.0

Methods

Properties

canAnimate

(
  • instance
)
Boolean
deprecated static

Defined in canAnimate:17

Deprecated: since version 0.4.0

If an instance can be animated, See canAnimate

Parameters:

  • instance

    The instance to check

Returns:

Boolean:

If the instance is animate-able

destroy

()
deprecated static

Defined in destroy:113

Deprecated: since version 0.4.0

Destroy the animator, see destroy

getDuration

(
  • instance
  • event
)
Int
deprecated static

Defined in getDuration:31

Deprecated: since version 0.4.0

Get the duration for an instance by event, see getDuration

Parameters:

  • instance

    The clip instance

  • event String

    The event name

Returns:

Int:

The length in milliseconds

getPaused

(
  • instance
)
Boolean
deprecated static

Defined in getPaused:125

Deprecated: since version 0.4.0

Get the paused state of instance, see paused

Parameters:

  • instance

    The instance to get

Returns:

Boolean:

Is paused

getTimeline

(
  • instance
)
springroll.AnimatorTimeline
deprecated static

Defined in getTimeline:46

Deprecated: since version 0.4.0

Get a timeline by instance, see getTimeline

Parameters:

  • instance

    The clip instance

Returns:

springroll.AnimatorTimeline:

The timeline instance

init

() springroll.Animator
deprecated static

Defined in init:139

Deprecated: since version 0.4.0

Initialize the animator, see animator

Returns:

springroll.Animator:

The animator instance

instanceHasAnimation

(
  • instance
  • event
)
Boolean
deprecated static

Defined in instanceHasAnimation:60

Deprecated: since version 0.4.0

If an instance has an animation event label, see hasAnimation

Parameters:

  • instance

    The clip instance

  • event String

    The event label to check

Returns:

Boolean:

If the instance has the event

pause

()
deprecated static

Defined in pause:152

Deprecated: since version 0.4.0

Pause all animations, see pause

pauseInGroup

(
  • paused
  • container
)
deprecated static

Defined in pauseInGroup:75

Deprecated: since version 0.4.0

Pause all animations in a group, see pauseInGroup

Parameters:

play

(
  • instance
  • eventList
  • onComplete
  • [onCancelled]
)
deprecated static

Defined in play:164

Deprecated: since version 0.4.0

Play an instance event, see play

Parameters:

  • instance

    The clip instance

  • eventList Object | String

    The event information to play

  • onComplete Function

    The completed function

  • [onCancelled] Function optional

    The cancelled function

resume

()
deprecated static

Defined in resume:89

Deprecated: since version 0.4.0

Resume all animations, see resume

stop

(
  • instance
  • [removeCallbacks=false]
)
deprecated static

Defined in stop:180

Deprecated: since version 0.4.0

See stop

Parameters:

  • instance

    The clip to play

  • [removeCallbacks=false] Boolean optional

    If we should remove callbacks

stopAll

()
deprecated static

Defined in stopAll:101

Deprecated: since version 0.4.0

Stop all animations, see stopAll

toString

()
deprecated static

Defined in toString:194

Deprecated: since version 0.4.0

captions

springroll.Captions deprecated static

Defined in captions:207

Deprecated: since version 0.4.0

See captions

debug

Boolean deprecated static

Defined in debug:221

Deprecated: since version 0.4.0

See debug