1 Reply Latest reply on Jun 27, 2006 10:05 AM by abeall

    Sound.loadSound() hangs player

    abeall Level 3
      I'm loading a 150kb low-medium quality MP3 via loadSound, and I notice that the player hangs for <1 second when the loadSound is called. Is this the expected behavior, or is there some way to prevent the momentary freeze as loadSound starts? Here is my loadSound code:

      var v = _root.voiceController_mc;
      v.startVoiceover = function(file){
      var s = this._sound;
      s.stop();
      s.setVolume(100);
      s.loadSound(file,true);
      s.onLoad = function(){v.init}
      }
      v.init = function(){
      delete this.onEnterFrame;
      this._sound.start();
      }

      Thanks