Skip to main content
Participant
October 3, 2021
Answered

Best way to handle looping background sounds with stop interactions

  • October 3, 2021
  • 1 reply
  • 204 views

I am trying to find the best way to structure my animation so I can stop the timeline to wait for user interaction but also have looping background music unaffected. Currently, I am using this.stop(); in my HTML5 project to pause the timeline. Unfortunately, this also stops the .WAV file I want to have looping. Is there a clean way to achieve this?

This topic has been closed for replies.
Correct answer kglad

put the wav file on a different timeline or use code to play the wav.

1 reply

kglad
Community Expert
kgladCommunity ExpertCorrect answer
Community Expert
October 4, 2021

put the wav file on a different timeline or use code to play the wav.