Jump to content
GreenSock

TweenMax.resumeAll()

TweenMax.resumeAll( tweens:Boolean, delayedCalls:Boolean, timelines:Boolean ) :

[static] [deprecated] Resumes all paused tweens and/or delayedCalls/callbacks and/or timelines.

Parameters

tweens: Boolean

(default = true) — If true, all tweens will be resumed.

delayedCalls: Boolean

(default = true) — If true, all delayedCalls will be resumed. timeline callbacks are treated the same as delayedCalls.

timelines: Boolean

(default = true) — If true, all TimelineLite and TimelineMax instances will be resumed (at least the ones who haven’t finished and been removed from their parent timeline)

Details

[deprecated] Resumes all paused tweens and/or delayedCalls/callbacks and/or timelines. This literally changes the paused state of all affected tweens/delayedCalls/timelines, but a more flexible way to globally control things is to use the TimelineLite.exportRoot()method which essentially wraps all of the tweens/timelines/delayedCalls on the root timeline into a TimelineLite instance so that you can pause(), resume(), or even reverse() or alter the timeScale without affecting animations that you create after the export. This also avoids having to alter the paused state of every individual tween/delayedCall/timeline - controlling the TimelineLite that contains the exported animations delivers the same effect visually, but does so in a more elegant and flexible way.

Copyright 2017, GreenSock. All rights reserved. This work is subject to theterms of useor for Club GreenSock members, the software agreement that was issued with the membership.
×