1 Reply Latest reply on Nov 6, 2007 10:09 PM by Newsgroup_User

    Sound Fade Out

    wavesurfer
      I need the sound of channel 2 fade out when exiting a frame. Easy, but hard for a newbie, please help.

      Thanks in advance!
        • 1. Re: Sound Fade Out
          Level 7
          wavesurfer wrote:

          > I need the sound of channel 2 fade out when exiting a frame. Easy, but hard for a newbie, please help.

          Hi wavesurfer,

          You can use the fadeout() method. So you could have a frame behavior as follows:
          on exitFrame
          sound(2).fadeOut(2000)
          end

          '2' represents the sound channel in which it's playing. If you have the sound in the Score, you need to
          make sure it extends beyond the frame from which the fade is to start. If the sound was activated by
          Lingo, you don't need to worry about what's in the Score's sound channels, just make sure the number you
          refer to in the fadeout() statement matches the sound channel you're playing the sound.

          '2000' represents time measured in milliseconds, so 2 seconds.

          regards
          Dean

          Director Lecturer / Consultant / Director Enthusiast
          http://www.fbe.unsw.edu.au/learning/director
          http://www.multimediacreative.com.au
          email: d.utian@unsw.edu.au