Skip to main content
Participant
February 1, 2008
Question

background music

  • February 1, 2008
  • 1 reply
  • 168 views
I would like music to play upon entering a new section, defined by labels. I can get the music to play but it's not confined to the area that I want it to be. For example, Label 1 has music playing but while it's playing, if I click a button that takes me to Label 2, the music continues to play and I'd like it to stop. This is my code to get the music to play, which is in the first frame of the section:
This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
February 1, 2008
execute a my_sound.stop() before you start() another sound.