playing and stopping sound
I am designing a multi-media web page. One of the features is a multi track music player on each page.
I started designing this as four seperate buttons, adding 'play' sound behaviours to each. The only problem is that each sound plays over the last making a BAD NOISE.
Therefore, I tried adding 'stop all sounds' to each button as well hoping this would stop the previous track before playing the next. This didn't work as the 'stop all sounds' behaviour seemed to overwrite the 'play'.
How do I create buttons or movie clips that play music but also stop any other music before playing their own?
|