Jump to content
Search Community

Andyp

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by Andyp

  1. Andyp

    invalidate()

    Hi all, I'm using tweenmax to build a timeline which changes the top and left css values of elements. Those are based on the browserHeight and width. On window resize, I want to rebuild my timelines to reflect the change in those values. So I used timeline.invalidate() and then create a new timeline. If the window is resized, in the middle of the timeline, it works going forward in the timeline. However, if I reverse, it uses the same values as the pre window.resize() status. Does invalidate() not change already animated values when reversing?
×
×
  • Create New...