How to pass a string var to function in a for loop

the XML file:

<?xml version=“1.0” encoding=“utf-8”?>
<XML>
<myXMLList>

&lt;ListItem&gt;
    &lt;itemImage&gt;img/francois.jpg&lt;/itemImage&gt;
 &lt;itemUrl&gt;http://www.consulting.xerox.com/Track/thoughtleaders+bios+ragnet+downloads+podcasts+futureofdocs+mp3+link/http:/www.xerox.com/downloads/usa/en/t/TL_Francois_Ragnet_DocumentManagement_final.mp3&lt;/itemUrl&gt;
 &lt;itemText&gt;Total duration: 12 minutes

Audio: MP3, 5.4MB
Francois Ragnet of Xerox Global Services explains that the future of documents and document management is here now. Learn about how the role of the document within the enterprise is changing as it becomes much more dynamic and rich through a concept that we call smarter documents.
</itemText>
</ListItem>

 &lt;ListItem&gt;
    &lt;itemImage&gt;img/image002.jpg&lt;/itemImage&gt;
 &lt;itemUrl&gt;http://www.xerox.com/downloads/usa/en/t/TL_Dave_Drab_InformationSecurity_final.mp3&lt;/itemUrl&gt;
 &lt;itemText&gt;Total Duration: 0 hr. 11 min.

Audio: MP3, 5.4MB
Dave explains what corporations today need to do to in the area of information security that helps create competitive advantage.
</itemText>
</ListItem>
<ListItem>
<itemImage>img/image003.jpg</itemImage>
<itemUrl>http://docushare.xerox.com/doug</itemUrl>
<itemText>333333. And I like how the quick brown fox jumps over the lazy dog.</itemText>
</ListItem>

 &lt;ListItem&gt;
    &lt;itemImage&gt;img/image004.jpg&lt;/itemImage&gt;
 &lt;itemUrl&gt;http://docushare.xerox.com/doug&lt;/itemUrl&gt;
 &lt;itemText&gt;444444. And I like how the quick brown fox jumps over the lazy dog.&lt;/itemText&gt;
&lt;/ListItem&gt;

</myXMLList>
</XML>

the Flash:

var j:Number = 0 ;
var myXML:XML = new XML();
var XML_URL:String = “http://localhost/pss/movie/action_XML_menu.xml”;
var myXMLURL:URLRequest = new URLRequest(XML_URL);
var myLoader:URLLoader = new URLLoader(myXMLURL);
myLoader.addEventListener(“complete”, xmlLoaded);

function xmlLoaded(event:Event):void {
trace(myLoader.data);

// Place the xml data into the myXML object
myXML = XML(myLoader.data);
// Initialize and give var name to the new external XMLDocument
var xmlDoc:XMLDocument = new XMLDocument();
// Ignore spacing around nodes
xmlDoc.ignoreWhite = true;
// Define a new name for the loaded XML that is the data in myLoader
var menuXML:XML = XML(myLoader.data);
// Parse the XML data into a readable format
xmlDoc.parseXML(menuXML.toXMLString());

// Variable to assign to list items
var n:Number = myXML…ListItem.length();

//define a new loop for URL array

for each (var itemList:XML in myXML…itemUrl){
var itemZrl:String = itemList.toString();

trace (itemList);
}

}

What am i doing wrong? why is only the last url passed to the mouse events?