Flash Conflict 6 And 8

Hi,
I’m having a huge problem publishing my swf because my XML code only works when its exported by flash 8 and i have another code that is only working on flash 6 so only one of my movies works when they are published…can anyone help me out here? isn’t flash 8 suposed to work flash 6 codes?

This is where I think the problem is, when I export on flash 6 it gives me this ( Error opening URL “[file:///C|/Documents%20and%20Settings/Yuri%20Lima/Desktop/](file:///C|/Documents%20and%20Settings/Yuri%20Lima/Desktop/) /yalp/site/photos/” )

photo_filename = new Array();
photo_thumbnail = new Array();
photo_description = new Array();
filepath = “photos/”;
// Load the photos XML
var flashmo_xml = new XML();
flashmo_xml.ignoreWhite = true;
flashmo_xml.onLoad = function()
{
var nodes:Array = this.firstChild.childNodes;
for(var i=0;i<nodes.length;i++)
{
photo_filename.push(nodes*.attributes.filename);
photo_thumbnail.push(nodes*.attributes.thumbnail);
photo_description.push(nodes*.attributes.description);
}

}
flashmo_xml.load(filepath + “p01.xml”);

PLEASE HELP!!