Loadin XML data into a movie clip

Hi all,

im creating a pop-up info box with a scrollerbar, the info within the scrollerbar must be editable using XML (the info is also accompanied by an image which im also having trouble loading into the info box). The code to load the XML data definitely works if you test just the movieclip scene, but because the Dynamic text fields are inside the main content movieclip for the scroller and are therefore a level down, the code to load the XML data won’t work once you test the movie itself.

…heres my actionscript code:

function loadXML(loaded) {
if (loaded) {
_root.area = this.firstChild.childNodes[0].firstChild.nodeValue;
_root.mainTitle = this.firstChild.childNodes[1].firstChild.nodeValue;
_root.content1 = this.firstChild.childNodes[2].firstChild.nodeValue;
_root.img = this.firstChild.childNodes[3].firstChild.nodeValue;
area_txt.text = _root.area;
mainTitle_txt.text = _root.mainTitle;
content1_txt.text = _root.content1;

} else {
    content = "file not loaded!";
}

}

xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load(“film.xml”);

…and heres the XML file:

<?xml version=“1.0” encoding=“UTF-8”?>

<information>
<area>Culdaff</area>

<mainTitle>DEAD LONG ENOUGH</mainTitle>

<content1>
Synopsis
Dejected lawyer Ben pines for a different life and a long-lost love. So when he instead decides to marry his overbearing girlfriend, Ben’s womanizing celebrity brother, Harry, whisks Ben away on an adventure that will change everything.

Starring
Michael Sheen, Jason Hughes, Angeline Ball, Mercedes Grower, and Douglas Henshall
</content1>

</information>

Im really stuck here so any help would be much appreciated, thanks.