# Xml Help

**URL:** <https://forum.kirupa.com/t/xml-help/224295>\
**Category:** programming\
**Created:** [May 1, 2007, 12:12am UTC](https://forum.kirupa.com/t/xml-help/224295 "2007-05-01T00:12:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mehmet22](https://avatars.discourse-cdn.com/v4/letter/m/779978/32.png) [@mehmet22](https://forum.kirupa.com/u/mehmet22)\
**Post date:** [May 1, 2007, 12:12am UTC](https://forum.kirupa.com/t/xml-help/224295/1 "2007-05-01T00:12:04Z")

</div>

Those of you that are developers please do not laugh.

I am trying to work of Displaying XML Data in Flash tutorial provided by kirupa. I am able to execute the tutorial perfectly fine, but when I want to have some of the text as links everything stops working.

Here is the code for flash side

var xml:XML = new XML();  
xml.ignoreWhite = true;  
xml.onLoad = function() {  
var nodes = this.firstChild.childNodes;  
numOfItems = nodes.length;  
for (var i = 0; i\<numOfItems; i++) {  
myImageHolder.loadMovie(nodes[i++].attributes.car);  
myImageHolder1.loadMovie(nodes[i++].attributes.car1);  
myImageHolder2.loadMovie(nodes[i++].attributes.car2);  
myImageHolder3.loadMovie(nodes[i++].attributes.car3);  
myText.text = nodes[i++].attributes.car4;  
myText1.text = nodes[i++].attributes.car5;

if (element.nodeName.toUpperCase() == “URL”) {  
URL = element.firstChild.nodeValue;  
}  
}};  
xml.load(“images.xml”);

and code for the xml side

\<?xml version=“1.0”?\>

\<?xml version=“1.0” encoding=“iso-8859-1”?\>  
\<images\>  
\<image car=“350.jpg”\>\</image\>  
\<image car1=“remote.jpg”\>\</image\>  
\<image car2=“interested\_thumb.jpg”\>\</image\>  
\<image car3=“spider.jpg”\>\</image\>  
\<image car4=“XML IS HARD”\>\</image\>  
\<image car5=“XML is not easy”\>\</image\>  
\</images\>

Can someone please show me how I can turn “XML IS HARD” into a link in flash.  
Thank You
