Trigger a specific javascript to run at a specific point on an animations timeline?


#1

Hi

I might be ‘doing it all wrong’, but in a sequence of animations, at one point, during the run of the animation i.e. at a point between start and end of an animation timeline, I’d like to fire off some javascript, which, in turn, will cause some other animation to start, but only when the jSON has been received and parsed from that first javascript call.

Is this possible?


(Mark Hunte) #2

Have a look at https://tumult.com/hype/documentation/3.0/#timeline-actions which you can trigger the javascript.

Then in the function that is fired you have your json GET/Fetch that on success uses one of the javascript Timeline APIs to run the the timeline with the next animation.


#3

That’s fantastic! This application really is well though out and feature complete isn’t it!?

Thanks for helping.