Jump to content
Search Community

mikefraser

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by mikefraser

  1. Hi, I'm not sure if this is related to the topic:

    https://greensock.com/forums/topic/15728-onstart-maximum-call-stack-size-exceeded-error/

     

    I'm trying to build a fairly complex (I think?) multi-stage animation, and I've started getting the following error messages:

    TweenMax.min.js:16 Uncaught RangeError: Maximum call stack size exceeded
        at d.h.add.h.insert (TweenMax.min.js:16)
        at d.q.add (TweenMax.min.js:14)
        at d.q.totalDuration (TweenMax.min.js:14)
        at d.k.totalDuration (TweenMax.min.js:14)
        at d.q.duration (TweenMax.min.js:14)
        at d.q.add (TweenMax.min.js:14)
        at d.q.totalDuration (TweenMax.min.js:14)
        at d.k.totalDuration (TweenMax.min.js:14)
        at d.q.duration (TweenMax.min.js:14)
        at d.q.add (TweenMax.min.js:14)
    
    TweenMax.min.js:1 Uncaught RangeError: Maximum call stack size exceeded
        at d.k.totalDuration (TweenMax.min.js:1)
        at d.q.duration (TweenMax.min.js:14)
        at d.q._remove (TweenMax.min.js:14)
        at d.h.add.h.insert (TweenMax.min.js:17)
        at d.q.add (TweenMax.min.js:14)
        at d.q.totalDuration (TweenMax.min.js:14)
        at d.k.totalDuration (TweenMax.min.js:14)
        at d.q.duration (TweenMax.min.js:14)
        at d.q.add (TweenMax.min.js:14)
        at d.q.totalDuration (TweenMax.min.js:14)

    Presumably related, I can't get the latest stage I'm working on to begin.

     

    I guess as a newbie, I've a couple of questions for the more experienced Greensock users out there:

    1. Any idea what's going wrong here?
    2. Any thoughts on how I could be doing this better? I've cobbled together my current approach from forum answers / stackexchange etc, currently by using one main timeline and adding sub-timelines (via functions) at various label points. I don't need it to stop in as many places as I've added (thats mainly to help me approach it in sections), but I do need it to hold in the 'working' loop until restarted by controls elsewhere.

     

    Any help / thoughts greatly appreciated.

    Thanks!

     

     

    See the Pen MvyNRm by mikefraser (@mikefraser) on CodePen

×
×
  • Create New...