Hi All!
I am trying to get an mp3 to start streaming after a jpg has finished dynamically loading. I know the best way to do this is to use MovieClipLoader.onLoadComplete(), however I’m having a few implementation problems as you can see below. Any help would be really appreciated.
function nextImage() {
if (p< (total-1)) {
p++;
if (loaded == filesize) {
empty_mc._alpha = 0;
mclListener.onLoadStart =function(empty_mc) {
empty_mc.loadMovie(image[p], 1);
};
mclListener.onLoadComplete =function(empty_mc) {
audio_mc.loadSound(audio[p], 1);
};
}
}
}
Thank you.