i made an XML to be loaded in flash
Code
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<gallery>
<galleryName id = "Schools">
<images>
<pic>
<image>images/1.jpg</image>
<description>Hello</description>
<thumbnail>thumb/1.jpg</thumbnail>
</pic>
<pic>
<image>images/2.jpg</image>
<description>Hi</description>
<thumbnail>thumb/2.jpg</thumbnail>
</pic>
<pic>
<image>images/3.jpg</image>
<description>Hey</description>
<thumbnail>thumb/3.jpg</thumbnail>
</pic>
</images>
</galleryName>
</gallery>
so i trace galleryname
galleryName= xmlNode.childNodes*.attributes.id;
which is right but when i trace image using this code in flash
image* = xmlNode.childNodes*.childNodes[0].firstChild.nodeValue;
it gives me null?!!!
can you have a look
Thanks!