That code is used in the init function of my class to create the timeline, and there's a public facing method that calls restart() to play the timeline as needed based on an event. (There's some more tweens in there, but i stripped them out just for simplicity's sake.)
the problem is, that those tweens are executed, even though immediaterender is set to false. does it only work for tweens that have a duration of 0?
also, it would be great to have something like immedateRender available on delayedCall(), so you could build a re-usable timeline wtihout triggering everything while it's being created.
immediateRender explained?
in GSAP (Flash)
Posted
Hello all,
I'm trying to use immediateRender to prevent tweens from occurring while I build a timeline, something like the following:
That code is used in the init function of my class to create the timeline, and there's a public facing method that calls restart() to play the timeline as needed based on an event. (There's some more tweens in there, but i stripped them out just for simplicity's sake.)
the problem is, that those tweens are executed, even though immediaterender is set to false. does it only work for tweens that have a duration of 0?
also, it would be great to have something like immedateRender available on delayedCall(), so you could build a re-usable timeline wtihout triggering everything while it's being created.
Thanks!