Problem with textfield

Here is some parts of my code

images.xml

<images directory=“images”>
<imageNode jpegURL=“w0001/preview.swf” swfURL = “images/w0001/”></imageNode>

</images>

//Retrieve text from swfURL

retrieveXML = new XML();
retrieveXML.ignoreWhite = true;
retrieveXML.load(“images.xml”);
retrieveXML.onLoad = function(success)
{
if(success){
direktorijum.text = retrieveXML.firstChild.firstChild.attributes.swfURL;
}
}

//Load data.xml from dir taken from swfURL
//This doesn’t work

groupXML = new XML();
groupXML.load(direktorijum.text + “data.xml”); // This is the problem
groupXML.onLoad = displayXML;

//Load pictures from dur taken from swfURL
//This works fine
//“platno” is MC where pic’s are loaded

if (platno._alpha<10) {
loadMovie(direktorijum.text + slika + “.jpg”, “platno”);
fadeOut = false;
fadeIn = true;

The problem is:

direktorijum.text gets text from swfURL.

Third part works fine, but second still looks for data.xml in parent.
It looks like groupXML.load (…) doesn’t read text form textfield “direkorijum”.

Textfield “Direktorijum” is not rendered as HTML.

What am I missed?