3 Replies Latest reply: Feb 3, 2013 7:46 AM by SlowXPress RSS

    fade in/out library sound?

    fonzio1 Community Member

      hi all

       

      having real problems finding anything about fading in and out sound in flash, have searched for 3 days now and found mostly as2 related articles, wondering if you could help me out?

       

      i have the following

       

      var myintSnd:introSound;

      var sndintChannel:SoundChannel;

      myintSnd = new introSound;

       

      sndintChannel = myintSnd.play();

       

      just wondering how i would fade in this sound using as3?

       

      so that i could maybe reverse the solution, so that on buttonclick the music will fade out ready for the next frame

       

      Ive heard it can be done using timers that increment the volume over time, but havent had much success with them, hope you can help, would much appreciate it

       

      thanks

      fonzio