Not sure why this is not working. I have a dynamic text field with an instance name Title, in my xml document I have a node <title1> that I want to change each time an image is selected. Everything else seems to be working but for some reason the title will not change it stays on the last node <title1>Image10</title1>.

here is my XML:

<image>
<urlimage>img/Layer-1.png</urlimage>
<link1>http://www.adobe.com</link1>
<title1>Item1</title1>
</image>

<image>
<urlimage>img/Layer-2.png</urlimage>
<link1>http://www.facebook.com</link1>
<title1>Item2</title1>
</image>

...

here is my Flash:

var xml:XML=new XML(e.target.data);

anglePer=Math.PI*2/xml.image.urlimage.length();

for (var i:int=0; i<xml.image.urlimage.length(); i++) {
var imc:imCon=new imCon ;
imc.name=xml.image.link1[i];
Title.text=xml.image.title1[i];