Jump to content


  • Posts

  • Joined

  • Last visited

Posts posted by croucho

  1. Thanks for getting back Carl :)

    I'm going to take your advice and write a manager that will be notified from the main timeline when I anticipate a seek has occurred. The manager will then do the work of playing/pausing/seeking the various sounds.


    Thanks again for getting back so quick.



  2. Greetings folks!


    I've been digging through the documentation but am worried I might be missing something (or what I'm looking for isn't supported.)


    Here's my situation:

    • I have a main TimelineMax that I append all kinds of tweens and sub-timelines to.
    • A few of these tweens are in place to simply start/stop audio tracks at a particular location.
    • When I call seek() on the main timeline, all the tweens adjust to the correct spot, but I need to adjust the currentTime on the audio tracks and call play/pause as necessary based on the Tween's isActive().

    I can't seem to find a way to receive a callback when the main timeline's position is tweeked via a seek() call.


    I've seen other threads where folks try to control position of videos manually with a tween (manipulating currentTime) but that is resulting is crazy ugly audio issues for me.


    Is there anyone out there that can help me wrap my head around this?

    Help me Obi-Wan Kenobi, you're my only hope!




    CodePen Example Setup  (wait for the audio to start 5 seconds in, click the blue square. I want to stop the audio from playing so that it will re-trigger correctly when it's tween becomes active).

    See the Pen pyrQLo?editors=1111 by croucho (@croucho) on CodePen

    • Like 1