Jump to content
Search Community

marcelde

Members
  • Posts

    6
  • Joined

  • Last visited

Community Answers

  1. marcelde's post in Using Scrollmagic GSAP... (beware: paused timeline inside paused timeline) was marked as the answer   
    Found it!
     
    And there is something to learn! Maybe something to improve in a future version?
     
    animation.gsap.js line 210 wraps the tween in a Timeline.
    The problem is that I don't add a tween to the scene but a TimelineMax.
    This should work fine and is demonstrated by Jan Peapke.
     
     
    The root of the problem is that I create my TimeLineMax with the option {paused:true}.
    In my original source (with load error) this was a logical step, and is exactly (not knowing then) what happens on animation.gsap.js line 217
    newTween.pause(); But after solving the loading error, the added paused timeline is wrapped in a paused timeline.
    This resulting in ...... well... a non functional result.
     
    CONCLUSION:
    If you add a Timeline to a Scene make sure that this Timeline is not paused (this is the default option)
     
    Suggestions:
    Don't wrap a Timeline in a Timeline, only wrap tweens
    Cascade the Pause method
     
    @OSUBlake: thks for the helpful fast response
×
×
  • Create New...