Image slideshow and scenes

I’m trying to have a multi-scene project with a image slideshow on the first one, and once all the images have been show I want it to progress to the next. I’m using a simplified version the xml slideshow tutorial on here. I would just extend the timeline out to the needed frames ( total pics x delay x fps) but there are over 250 pictures which would result in some 60,000 frames. I know there has got to be a way to keep flash on the slideshow scene for the required time… I was thinking something with setInterval, but I have no idea where to go with it. here is my code, any help would be greatly appreciated :X

delay = 5000;
// total frames = (number of pictures)(time up)(fps)
//-----------------------
function loadXML(loaded) {

if (loaded) {

xmlNode = this.firstChild;
image = [];
description = [];
total = xmlNode.childNodes.length;
for (i=0; i<total; i++) {

image* = xmlNode.childNodes*.childNodes[0].firstChild.nodeValue;
description* = xmlNode.childNodes*.childNodes[1].firstChild.nodeValue;

}
firstImage();

} else {

content = "file not loaded!";

}

}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("images.xml");
/////////////////////////////////////

p = 0;

function nextImage() {

if (p<(total-1)) {

p++;
if (loaded == filesize) {

imgloader.contentPath= image[p];
picture_num();
slideshow();

}

}

}
function firstImage() {

if (loaded == filesize) {

imgloader.contentPath= image[0];
picture_num();
slideshow();

}

}
function picture_num() {

current_pos = p+1;
pos_txt.text = current_pos+" / "+total;

}
function slideshow() {

myInterval = setInterval(pause_slideshow, delay);
function pause_slideshow() {

clearInterval(myInterval);
if (p == (total-1)) {

p = 0;
firstImage();

} else {

nextImage();

}

}

}