hey…
i have build some kind of music selector in my site (Action Script 2, flash player 10)
my problem is that when a user change his selection, the new song starts loading and if the last song didnt finished loading it dosend stop the loading.
so the problem is that i have 2-4 songs beeing download at the same time… not so good for low bandwidth.
this is the script:
where: LoadSound is the function that load the songs, num is the identifier of the song & radio button when 0 means stop/silent the music
function LoadSound (num) {
if (num == 0) {
backSound.setVolume(0);
mcPageHome_mc.btnMusic0.selected = true;
//SoundLoader_mc.removeMovieClip();
} else {
backSound = new Sound (SoundLoader_mc);
backSound.loadSound("music/" + num + ".mp3", true);
backSound.setVolume(50);
eval("mcPageHome_mc.btnMusic" + num).selected = true;
myInterval = setInterval(preload,100);
MusicPreloader_mc._visible = true;
soundAnimHandler(true);
}
}
Thanks for any help