Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

New Here ,
Jun 08, 2020 Jun 08, 2020

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?

TOPICS
ActionScript , How to
742
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 09, 2020 Jun 09, 2020

HTML5 or AS3?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 09, 2020 Jun 09, 2020

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 09, 2020 Jun 09, 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
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 09, 2020 Jun 09, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 09, 2020 Jun 09, 2020
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines