1 Reply Latest reply on Nov 18, 2007 8:01 PM by clbeech

    Playing sound in order

    xxangrysockxx
      I'm trying to make something like a soundboard. Basically there's gonna be a play button and buttons that play a certain soundclips when you rollover. When you press more than one button and hit the play button, the sound clips will be played in the order the buttons were pressed. Do you have any idea how to do this? Thanks.
        • 1. Re: Playing sound in order
          clbeech Level 3
          sure, set up all your Sounds using AS, as Sound Objects, and then you have a much better degree of control for each.

          for the sequencing, you could set boolean variables for each sound to play. or better yet, push each into an array in the order that the user presses them, then run through the array using onSoundcomplete events, but you'll need to come up with a method, to play each Sound Object as targets within the method.