Hey everyone its peebman2000, my boss has me doing programming as well as web designing. I think I need a raise

. I'm working with flash and actionscript to load text and an image into a flash document, I"m using flash 8. Now I was sent to training for this, but I haven't used it since training; which was like a year ago.
Anyway, i've looked through my training book and online, and I keep getting an error saying:
Quote:
|
Error opening URL "file:///C:\documents and Settings\peebma\desktop\sfcflash\sfc.xml"
|
I have a folder that has the images and xml file, but I keep getting this error.
Per what I've found online it might be something with my actionscript, i'm a huge newbie when it comes to actionscript. This is my first time using it for a project.
Does anyone here know a little about actionscript and give any help on what i'm doing wrong?
Let me know and thanks.
XML file:
Quote:
<xml>
<titles>
<title>
<text>Hello</text>
<img>images/bbq.jpg</img>
</title>
</titles>
</xml>
|
Actionscript:
Code:
menuXml = new XML();
menuXml.ignoreWhite = true;
menuXml.onLoad = function(success) {
if(success){
item = _root.attachMovie("menutitle", "menutitle", 0);
item._x = 90;
item._y = 15;
item.titel_txt.text = this.childNodes[0].childNodes[0].childNodes[0].childNodes[0].childNodes;
}
}
menuXml.load("C:\Documents and Settings\DPeebles\Desktop\osfcflash\osfc.xml");