Play/Pause Timeline AND Audio?

audio

(Jon S.) #1

Hi Everyone,

I am trying to build an animation with synchronized audio in Hype along with play/pause navigational controls. I can play/pause the timeline easily enough, but I can’t find a way of playing/pausing the audio file…kind of like when I used to use Flash and I’d pick “Stream” from the Sync type, the stop() and play() commands would work for both timeline and audio. Any suggestions?

Thank you!

Jon


#2

Hi Jon, here’s how you would control an audio element with JavaScript: Controlling Audio & Advanced Techniques (Play, Pause, Rewind, Volume control)