Jump to content
Search Community

Search the Community

Showing results for tags 'animation callback sync'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • GreenSock Forums
    • GSAP
    • Banner Animation
    • Jobs & Freelance
  • Flash / ActionScript Archive
    • GSAP (Flash)
    • Loading (Flash)
    • TransformManager (Flash)

Product Groups

  • Club GreenSock
  • TransformManager
  • Supercharge

Categories

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Personal Website


Twitter


CodePen


Company Website


Location


Interests

Found 1 result

  1. I have two situations. First. For example, we have the following code: var timeline = new TimelineMax(); timeline.to(elem, 1, {css: {boxShadow: '0 0 40px 40px red'}}); timeline.addCallback(playAudio, 0 ["1.mp3"])) // play audio at begining timeline.to(another animation) This code starts animation and plays audio. And, I don't know the duration of audio. I need to run `another animation` animation when first animation is completed and callback is completed too. Now it starts when first animation is completed. Second situation almost the same: timeline.addCallback(playAudio, 0 ["1.mp3"])); timeline.addCallback(anotherCallback, 0)); timeline.to(another animation); I need to run `another animation` only when all callbacks are finished.
×
×
  • Create New...