SLide show FireFox Issue

Hello guys,

I am very much new to the AS and have been following kirupa’s tutorial. This site rocks !!

Using the code form Kirupa’s XML Gallery.

The problem is when the nextImage() function called/invoked slideshow stop looping and not loading the next image.

slideshow is working if the next image to be loaded is already cached. but if not cached its stop. Dont know why. Your help is highly appreciated.

Here it is:
function firstImage() {
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[0], 1);
show_image_description(description[p]);
picture_num();
if(_global.is_sliding == true) slideshow();
}
}

function nextImage() {
if (p<(total-1)) {
p++;
if (loaded == filesize && loaded!= 0 ) {
picture_num();
picture._alpha = 0;
picture.loadMovie(image[p], this.getNextHighestDepth());
show_image_description(description[p]);
if(_global.is_sliding == true){
clearInterval(_global.intervalId);
slideshow();
}
}
}
}

When the Slideshow button is pressed. button invoke the function:
function slideshow() {
_global.intervalId = setInterval(pause_slideshow, _global.slideshow_timer*1000);
//play_slide_show();
function pause_slideshow() {
clearInterval(_global.intervalId);
if (p == (total-1)) {
p = 0;
firstImage();
} else {
nextImage();
}
}
}

Please help!

Thanks in advance

eAnimator