Skip to main content
January 21, 2026
Question

Animation not playing music or allowing to skip frames

  • January 21, 2026
  • 1 reply
  • 43 views

I am relatively new to Animate, starting last month and figured out the basics. I've made animations with a start button and a restart button at the end. No issues.

Now I've tried making an animation without a start button but the audio doesn't play, only upon pressing the restart button. I've read online in other html forums that audio needs to be sort of initialized(?) with a click, which is why it doesn't play without some sort of reader interaction.
A related question is gotoAndPlay(), which upon being used without the context of a reader click stops the animation afterwards (it moves to the frame, plays 1 frame and then stops). Again, with the context of a reader click, this issue doesn't exist.

Is there a way to do both these things without the need for reader involvment?

    1 reply

    kglad
    Community Expert
    Community Expert
    January 22, 2026

    that sounds like you have a canvas project.  browsers won't allow audio to play unless there's user interaction (eg, a click) with your app.