Sound in Flash

Out of context: Reply #6

  • Started
  • Last post
  • 22 Responses
  • mirola0

    you can load external mp3's and stream them using the loadSound function. then, set the second argument to true. That will make it stream and you can use it like any other sound object i.e.

    var game_loop = new Sound();
    game_loop.onLoad = function (loadedOK) {
    if(loadedOK) {
    game_loop.start(0,1000);
    }
    }

    game_loop.loadSound("poo.mp3", true);

    that's if you have an mp3 called poo, which frankly, nobody should.

View thread