Slideshow Having Problems in Browser

Hi:

I am using the code off this site for the xml based slideshow (built off the xml based photo gallery). It seems to be working fine in Flash as well as testing in the browser, although when I upload it doesn’t seem to find the content. Here is the AS:

ActionScript Code:
[FONT=Courier New][LEFT]</p>
<p> </p>
<p>delay = [COLOR=#000080]3000[/COLOR]; </p>
<p>[COLOR=#808080]//----------------------- </p>[/COLOR]
<p>function loadXMLCOLOR=#000000[/COLOR] [COLOR=#000000]{[/COLOR] </p>
<p>if COLOR=#000000[/COLOR] [COLOR=#000000]{[/COLOR] </p>
<p>xmlNode = [COLOR=#0000ff]this[/COLOR].[COLOR=#0000ff]firstChild[/COLOR]; </p>
<p>image = [COLOR=#000000][[/COLOR][COLOR=#000000]][/COLOR]; </p>
<p>description = [COLOR=#000000][[/COLOR][COLOR=#000000]][/COLOR]; </p>
<p>total = [COLOR=#0000ff]xmlNode[/COLOR].[COLOR=#0000ff]childNodes[/COLOR].[COLOR=#0000ff]length[/COLOR]; </p>
<p>for [COLOR=#000000]([/COLOR]i=[COLOR=#000080]0[/COLOR]; i<total; i++[COLOR=#000000])[/COLOR] [COLOR=#000000]{[/COLOR] </p>
<p>image[COLOR=#000000][[/COLOR]i[COLOR=#000000]][/COLOR] = [COLOR=#0000ff]xmlNode[/COLOR].[COLOR=#0000ff]childNodes[/COLOR][COLOR=#000000][[/COLOR]i[COLOR=#000000]][/COLOR].[COLOR=#0000ff]childNodes[/COLOR][COLOR=#000000][[/COLOR][COLOR=#000080]0[/COLOR][COLOR=#000000]][/COLOR].[COLOR=#0000ff]firstChild[/COLOR].[COLOR=#0000ff]nodeValue[/COLOR]; </p>
<p>description[COLOR=#000000][[/COLOR]i[COLOR=#000000]][/COLOR] = [COLOR=#0000ff]xmlNode[/COLOR].[COLOR=#0000ff]childNodes[/COLOR][COLOR=#000000][[/COLOR]i[COLOR=#000000]][/COLOR].[COLOR=#0000ff]childNodes[/COLOR][COLOR=#000000][[/COLOR][COLOR=#000080]1[/COLOR][COLOR=#000000]][/COLOR].[COLOR=#0000ff]firstChild[/COLOR].[COLOR=#0000ff]nodeValue[/COLOR]; </p>
<p>[COLOR=#000000]}[/COLOR] </p>
<p>firstImageCOLOR=#000000[/COLOR]; </p>
<p>[COLOR=#000000]}[/COLOR] [COLOR=#0000ff]else[/COLOR] [COLOR=#000000]{[/COLOR] </p>
<p>content = [COLOR=#ff0000]“file not loaded!”[/COLOR]; </p>
<p>[COLOR=#000000]}[/COLOR] </p>
<p>[COLOR=#000000]}[/COLOR] </p>
<p>xmlData = [COLOR=#000000]new[/COLOR] [COLOR=#0000ff]XML[/COLOR]COLOR=#000000[/COLOR]; </p>
<p>xmlData.[COLOR=#0000ff]ignoreWhite[/COLOR] = [COLOR=#000000]true[/COLOR]; </p>
<p>xmlData.[COLOR=#0000ff]onLoad[/COLOR] = loadXML; </p>
<p>xmlData.[COLOR=#0000ff]load[/COLOR]COLOR=#000000[/COLOR]; </p>
<p>[COLOR=#808080]///////////////////////////////////// </p>[/COLOR]
<p>listen = [COLOR=#000000]new[/COLOR] [COLOR=#0000ff]Object[/COLOR]COLOR=#000000[/COLOR]; </p>
<p>listen.[COLOR=#0000ff]onKeyDown[/COLOR] = [COLOR=#000000]function[/COLOR]COLOR=#000000[/COLOR] [COLOR=#000000]{[/COLOR] </p>
<p>if [COLOR=#000000]([/COLOR][COLOR=#0000ff]Key[/COLOR].[COLOR=#0000ff]getCode[/COLOR]COLOR=#000000[/COLOR] == [COLOR=#0000ff]Key[/COLOR].[COLOR=#0000ff]LEFT[/COLOR][COLOR=#000000])[/COLOR] [COLOR=#000000]{[/COLOR] </p>
<p>prevImageCOLOR=#000000[/COLOR]; </p>
<p>[COLOR=#000000]}[/COLOR] [COLOR=#0000ff]else[/COLOR] [COLOR=#0000ff]if[/COLOR] [COLOR=#000000]([/COLOR][COLOR=#0000ff]Key[/COLOR].[COLOR=#0000ff]getCode[/COLOR]COLOR=#000000[/COLOR] == [COLOR=#0000ff]Key[/COLOR].[COLOR=#0000ff]RIGHT[/COLOR][COLOR=#000000])[/COLOR] [COLOR=#000000]{[/COLOR] </p>
<p>nextImageCOLOR=#000000[/COLOR]; </p>
<p>[COLOR=#000000]}[/COLOR] </p>
<p>[COLOR=#000000]}[/COLOR]; </p>
<p>p = [COLOR=#000080]0[/COLOR]; </p>
<p>this.[COLOR=#0000ff]onEnterFrame[/COLOR] = [COLOR=#000000]function[/COLOR]COLOR=#000000[/COLOR] [COLOR=#000000]{[/COLOR] </p>
<p>filesize = picture.[COLOR=#0000ff]getBytesTotal[/COLOR]COLOR=#000000[/COLOR]; </p>
<p>loaded = picture.[COLOR=#0000ff]getBytesLoaded[/COLOR]COLOR=#000000[/COLOR]; </p>
<p>preloader.[COLOR=#0000ff]_visible[/COLOR] = [COLOR=#000000]true[/COLOR]; </p>
<p>if [COLOR=#000000]([/COLOR][COLOR=#0000ff]loaded[/COLOR] != filesize[COLOR=#000000])[/COLOR] [COLOR=#000000]{[/COLOR] </p>
<p>preloader.[COLOR=#000080]preload_bar[/COLOR].[COLOR=#0000ff]_xscale[/COLOR] = [COLOR=#000080]100[/COLOR]*[COLOR=#0000ff]loaded[/COLOR]/filesize; </p>
<p>[COLOR=#000000]}[/COLOR] [COLOR=#0000ff]else[/COLOR] [COLOR=#000000]{[/COLOR] </p>
<p>preloader.[COLOR=#0000ff]_visible[/COLOR] = [COLOR=#000000]false[/COLOR]; </p>
<p>if COLOR=#000000[/COLOR] [COLOR=#000000]{[/COLOR] </p>
<p>picture.[COLOR=#0000ff]_alpha[/COLOR] += [COLOR=#000080]10[/COLOR]; </p>
<p>[COLOR=#000000]}[/COLOR] </p>
<p>[COLOR=#000000]}[/COLOR] </p>
<p>[COLOR=#000000]}[/COLOR]; </p>
<p>function nextImageCOLOR=#000000[/COLOR] [COLOR=#000000]{[/COLOR] </p>
<p>if COLOR=#000000[/COLOR] [COLOR=#000000]{[/COLOR] </p>
<p>p++; </p>
<p>if [COLOR=#000000]([/COLOR][COLOR=#0000ff]loaded[/COLOR] == filesize[COLOR=#000000])[/COLOR] [COLOR=#000000]{[/COLOR] </p>
<p>picture.[COLOR=#0000ff]_alpha[/COLOR] = [COLOR=#000080]0[/COLOR]; </p>
<p>picture.[COLOR=#0000ff]loadMovie[/COLOR][COLOR=#000000]([/COLOR]image[COLOR=#000000][[/COLOR]p[COLOR=#000000]][/COLOR], [COLOR=#000080]1[/COLOR][COLOR=#000000])[/COLOR]; </p>
<p>desc_txt.[COLOR=#0000ff]text[/COLOR] = description[COLOR=#000000][[/COLOR]p[COLOR=#000000]][/COLOR];</p>
<p>picture_numCOLOR=#000000[/COLOR]; </p>
<p>slideshowCOLOR=#000000[/COLOR]; </p>
<p>[COLOR=#000000]}[/COLOR] </p>
<p>[COLOR=#000000]}[/COLOR] </p>
<p>[COLOR=#000000]}[/COLOR] </p>
<p>function prevImageCOLOR=#000000[/COLOR] [COLOR=#000000]{[/COLOR] </p>
<p>if COLOR=#000000[/COLOR] [COLOR=#000000]{[/COLOR] </p>
<p>p–; </p>
<p>picture.[COLOR=#0000ff]_alpha[/COLOR] = [COLOR=#000080]0[/COLOR]; </p>
<p>picture.[COLOR=#0000ff]loadMovie[/COLOR][COLOR=#000000]([/COLOR]image[COLOR=#000000][[/COLOR]p[COLOR=#000000]][/COLOR], [COLOR=#000080]1[/COLOR][COLOR=#000000])[/COLOR]; </p>
<p>desc_txt.[COLOR=#0000ff]text[/COLOR] = description[COLOR=#000000][[/COLOR]p[COLOR=#000000]][/COLOR]; </p>
<p>picture_numCOLOR=#000000[/COLOR]; </p>
<p>[COLOR=#000000]}[/COLOR] </p>
<p>[COLOR=#000000]}[/COLOR] </p>
<p>function firstImageCOLOR=#000000[/COLOR] [COLOR=#000000]{[/COLOR] </p>
<p>if [COLOR=#000000]([/COLOR][COLOR=#0000ff]loaded[/COLOR] == filesize[COLOR=#000000])[/COLOR] [COLOR=#000000]{[/COLOR] </p>
<p>picture.[COLOR=#0000ff]_alpha[/COLOR] = [COLOR=#000080]0[/COLOR]; </p>
<p>picture.[COLOR=#0000ff]loadMovie[/COLOR][COLOR=#000000]([/COLOR]image[COLOR=#000000][[/COLOR][COLOR=#000080]0[/COLOR][COLOR=#000000]][/COLOR], [COLOR=#000080]1[/COLOR][COLOR=#000000])[/COLOR]; </p>
<p>desc_txt.[COLOR=#0000ff]text[/COLOR] = description[COLOR=#000000][[/COLOR][COLOR=#000080]0[/COLOR][COLOR=#000000]][/COLOR];</p>
<p>picture_numCOLOR=#000000[/COLOR]; </p>
<p>slideshowCOLOR=#000000[/COLOR]; </p>
<p>[COLOR=#000000]}[/COLOR] </p>
<p>[COLOR=#000000]}[/COLOR] </p>
<p>function picture_numCOLOR=#000000[/COLOR] [COLOR=#000000]{[/COLOR] </p>
<p>current_pos = p+[COLOR=#000080]1[/COLOR]; </p>
<p>pos_txt.[COLOR=#0000ff]text[/COLOR] = current_pos+[COLOR=#ff0000]" / "[/COLOR]+total; </p>
<p>[COLOR=#000000]}[/COLOR] </p>
<p>function slideshowCOLOR=#000000[/COLOR] [COLOR=#000000]{[/COLOR] </p>
<p>myInterval = [COLOR=#0000ff]setInterval[/COLOR][COLOR=#000000]([/COLOR]pause_slideshow, delay[COLOR=#000000])[/COLOR]; </p>
<p>function pause_slideshowCOLOR=#000000[/COLOR] [COLOR=#000000]{[/COLOR] </p>
<p>clearIntervalCOLOR=#000000[/COLOR]; </p>
<p>if [COLOR=#000000]([/COLOR]p == COLOR=#000000[/COLOR][COLOR=#000000])[/COLOR] [COLOR=#000000]{[/COLOR] </p>
<p>p = [COLOR=#000080]0[/COLOR]; </p>
<p>firstImageCOLOR=#000000[/COLOR]; </p>
<p>[COLOR=#000000]}[/COLOR] [COLOR=#0000ff]else[/COLOR] [COLOR=#000000]{[/COLOR] </p>
<p>nextImageCOLOR=#000000[/COLOR]; </p>
<p>[COLOR=#000000]}[/COLOR] </p>
<p>[COLOR=#000000]}[/COLOR] </p>
<p>[COLOR=#000000]}[/COLOR] </p>
<p>
[/LEFT]
[/FONT]

I have the swf in the root dir as well as a folder (_xml) with all the content and images.xml. I’ve gotten similar galleries to work with xml in this way, am I missing something?

Any help would be appreciated.

Thanks