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);
}
system
August 22, 2004, 2:32pm
2
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
system
August 23, 2004, 3:55pm
3
can u show me an example like a fla file…thxs
system
August 24, 2004, 9:58pm
4
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