1 Reply Latest reply on May 15, 2006 8:16 AM by Newsgroup_User

    Controlling Sound

    sprackles Level 1
      I am creating a CD ROM whereby I have an series of links that play an animation of a train going to another section of the screen. I have a sound of a train for each of these, and realise that the novelty of this sound will wear thin after a while. I have created a button to stop the sound and used the stop all sounds function. This however only seems to stop current sounds and I want my button to turn off this train sound off altogther. Any help would be greatly appreciated

      My actionscripting is quite amateur at best and I am not sure how to go about turning off this sound, i have also tried script something like this but again, my scripting is poor and this didn't work:

      Sounds Off

      on(release) {

      var soundOff = new Sound(trains.wav);