0 Replies Latest reply on Dec 31, 2006 11:22 PM by flashfloozie

    fade  streamed mp3

    flashfloozie Level 1
      I've used the following code to start a streaming mp3 file. I want to fade the audio out at a certain frame. Is there a code snippet I can use to accomplish this?

      ff


      //Load Streaming mp3 behavior
      if(_global.Behaviors == null)_global.Behaviors = {};
      if(_global.Behaviors.Sound == null)_global.Behaviors.Sound = {};
      if(typeof this.createEmptyMovieClip == 'undefined'){
      this._parent.createEmptyMovieClip('BS_sound1',new Date().getTime()-(Math.floor((new Date().getTime()) /10000)*10000) );
      _global.Behaviors.Sound.sound1 = new Sound(this._parent.BS_sound1);
      } else {
      this.createEmptyMovieClip('_sound1_',new Date().getTime()-(Math.floor((new Date().getTime()) /10000)*10000) );
      _global.Behaviors.Sound.sound1 = new Sound(this.BS_sound1);
      }
      _global.Behaviors.Sound.sound1.loadSound("MixdownLow.mp3",true);