Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

Search the Community

Showing results for tags 'timeline; add;addcallback;'.

  • 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

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. tl.to($obj, speed, { y: '40' }); tl.addLabel('label'); tl.addCallback(function() { playSound(); }, 'label+=.15'); tl.addCallback(function() { playSound(); }, 'label+=.25'); For me, the timeline WAIT the execution of call()/addCallback(). Can someone explain me why the timeline is paused (or not rendered) when I use add() and addCallback()? The best would be to have a running timeline (not disturbed by callbacks). Using a timeline is give the possibility to insert small function at the right place without doing the non maintainable way with setTimeout({}, 200).. Attempt: Wrap the callback function in a setTimeout(playSound, 0). Not working Pen: http://codepen.io/magister/pen/GgrRae
×