Jump to content


  • Posts

  • Joined

  • Last visited

palexc's Achievements



  1. Hello all, I'm trying to use immediateRender to prevent tweens from occurring while I build a timeline, something like the following: _transitionTimeline.append(TweenMax.to(_tf , .25, { immediateRender :false, alpha: 0, x:_tf.x + TEXT_MOVE, scaleX: .8 } ) ); _transitionTimeline.append(TweenMax.fromTo (_tf, .25, { alpha: 0, x:TEXT_X - TEXT_MOVE, scaleX: .8 }, { immediateRender:false, alpha:1, x:TEXT_X, scaleX:1 } ) ); 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!