Skip to main content
wendyfreise
Participant
June 9, 2020
Question

My music starts over when I don't want it to.

  • June 9, 2020
  • 2 replies
  • 776 views

I have buttons on my animation that take the user back to the previous keyframe, which is the main keyframe, or buttons that take the user to a specific keyframe. However, I have music at the first keyframe and when the user clicks to go back to the previous keyframe, the music will not only continue to play but will start over again once it goes back to keyframe 1. So how do I make it where the music won't overlap?

This topic has been closed for replies.

2 replies

_keyframer
Community Expert
Community Expert
June 9, 2020

Sounds like the music is set to "Event" behavour. Is this timeline based animation that plays when the button is pressed? If so, you could try changing the sound from Event to Stream.

Animator and content creator for Animate CC
wendyfreise
Participant
June 9, 2020

In the properties panel? Because when I click on the keyframe I have the audio in and go to the properties panel I can't do anything in the sound section. It gives me "none" for the dropdown.

buksori
Inspiring
June 9, 2020

In Adobe Animate version 20.0.3

you can turn your music from "Event" into "Stream" in HTML Canvas document.

I mean you should see your version.

avid_body16B8
Legend
June 9, 2020

HTML5 or AS3?

wendyfreise
Participant
June 9, 2020

Both. I haven't been able to fix my code for HTML5 so it just plays and replays.