Load External Sound AS3

var audio:Sound = new Sound();
var req:URLRequest = new URLRequest(“Buzz.mp3”);
audio.load(req);
audio.play();
var channel:SoundChannel= new SoundChannel();

var audio:Sound = new Sound();var req:URLRequest = new URLRequest(“sound.mp3”);

audio.load(req);audio.play();
var channel:SoundChannel= new SoundChannel();

Leave a comment