XML Flash slideshow works in preview but not on site

Hi

I have been using the [COLOR=black]**Photo **[FONT=Verdana]Slideshow Using XML and Flash tutorial and have it working like a dream when I test the movie. [/FONT][/COLOR]

I have now uploaded it to my web server and it no longer works. The images do not appear

I have tried this in multiple browsers and have a double checked everything. The url pointing to the xml file is correct. The images are all uploaded correctly. I have the exact same file working when i test the movie!!!

Has anyone else encountered similar problems? I did have it working in a browser at one point but now it is broken :hitman2:

I have added the code below if this helps.

Thanks in advance.

delay = 7000;
this.fadeSpeed = 8;
this.fadeOutSpeed = 2;
var fadOutInt:Number;
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
image = [];
description = [];
//
//define link variable
//
link = [];
blank = [];
//
total = xmlNode.childNodes.length;
for (i=0; i<total; i++) {
image* = xmlNode.childNodes*.childNodes[0].firstChild.nodeValue;
description* = xmlNode.childNodes*.childNodes[1].firstChild.nodeValue;
//
//adding links
//
link* = xmlNode.childNodes*.childNodes[2].firstChild.nodeValue;
blank* = xmlNode.childNodes*.childNodes[3].firstChild.nodeValue;
//
eval(i).onRollOut = function() {
a = 0;
b = 0;
cap._visible = false;
this.onEnterFrame = function() {
this.masked._alpha *= 1.1;
if (this.masked._alpha>=100) {
this.masked._alpha = 100;
a = 1;
}
if (a == 1) {
delete this.onEnterFrame;
}
};
};
}
firstImage();
} else {
content = "file not loaded!";
}
}
 
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("http://www.cmldistribution.co.uk/feature/feature1/images1.xml");
/////////////////////////////////////
listen = new Object();
listen.onKeyDown = function() {
if (Key.getCode() == Key.LEFT) {
prevImage();
} else if (Key.getCode() == Key.RIGHT) {
nextImage();
}
};
//p = 0;
p = Math.floor(Math.random() * 4);
_root.tell == p;
this.onEnterFrame = function() {
filesize = picture.getBytesTotal();
loaded = picture.getBytesLoaded();
preloader._visible = true;
if (loaded != filesize) {
preloader.preload_bar._xscale = 100*loaded/filesize;
} else {
preloader._visible = false;
if (picture._alpha<100) {
picture._alpha += 3;
}
}
picture.onRelease = function() {
getURL(link[p], "_self");
};
picture.onRollOver = function() {
_root.tool_tip.startDrag(true);
_root.tool_tip.title = "click for more from "+ description[p];
//_root.tool_tip.title = blank[p];
_root.tool_tip._visible = true;
};
picture.onRollOut = function() {
stopDrag ();
_root.tool_tip._visible = false;
};
 
textlink.onRelease = function() {
getURL(link[p]);
textlink._alpha += 5;
};
};
mini0.onRelease = function() {
p = 0;
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[p], 1);
desc_txt.text = description[p];
picture_num();
}
}
mini1.onRelease = function() {
p = 1;
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[p], 1);
desc_txt.text = description[p];
picture_num();
}
}
mini2.onRelease = function() {
p = 2;
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[p], 1);
desc_txt.text = description[p];
picture_num();
}
}
mini6.onRelease = function() {
p = 5;
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[p], 1);
desc_txt.text = description[p];
picture_num();
}
}
mini4.onRelease = function() {
p = 3;
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[p], 1);
desc_txt.text = description[p];
}
}
mini5.onRelease = function() {
p = 4;
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[p], 1);
desc_txt.text = description[p];
}
}
function nextImage() {
if (p<(total-1)) {
p++;
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[p], 1);
desc_txt.text = description[p];
picture_num();
slideshow();
}
}
}
function firstImage() {
if (loaded == filesize) {
picture._alpha = 0;
// picture.loadMovie(image[0], 1);
picture.loadMovie(image[p], 1);
desc_txt.text = description[p];
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 {
fadeOut();
}
}
function fadeOut() {
clearInterval(pauseInterval);
fadeOutInt = setInterval(fadeOutImg, fadeOutSpeed);
}
}
 
function fadeOutImg(){
if(picture._alpha < fadeOutSpeed){
clearInterval(fadeOutInt);
picture._alpha = 0;
loadNextImg();
}
else{ 
picture._alpha -= fadeOutSpeed;
updateAfterEvent(); // refresh according to setInt delay, not framerate
}
};
function loadNextImg() {
if (p == (total-1)) {
p = 0;
firstImage();
} else {
nextImage();
}
};