7 Replies Latest reply on Nov 5, 2007 7:04 AM by kglad

    Fade sound using AS3

    damonlee
      I'm trying to write a function that will Fade In a given mp3 called via the following method:

      var sAmbience:Sound = new Sound();
      sAmbience.load(new URLRequest("ambience.mp3"));
      var sAmbienceVol:SoundTransform = new SoundTransform(0.7, 0);

      I also want a function that will Fade Out the sound...I knew how to do this in AS2

      Any help would be greatly appreciated.

      Thx -D