Changing mp3 on flash

hi everybody, recently i learn a method of loading mp3 through flash actionscripts loadSound, but i dont have any idea of how to switch to other song.

thxs for viewing

this is my scripts

bgSound = new Sound(_root);
bgSound.onLoad = loadedSound;
bgSound.loadSound(“sos.mp3”,false);
function loadedSound(){
_root.bgSound.start(0,0);
}

i’d store all the .mp3 filenames you want to play in an array…

bgsound.loadSound(array*,false);

and then just change the value of i through fwd and back buttons

can u show me an example like a fla file…thxs :slight_smile:

do you want the user to be able to go fowards and backwards between the mp3’s coz if u do you could use the next/previous frame actionscript command to browse the frames that could contain the mp3’s