Access xml nodes in flash

ok, im about to pull ALL my hair out trying figure the tree model for accessing xml nodes in flash. just when i think i have it figured out…i don’t.

my XML file…

<?xml version="1.0" encoding="iso-8859-1"?>

my flash as…

//loads my photos CORRECTLY (using for loop)

so why doesn’t the code below load the widths??


when i trace this…


i get “<width>400</width>,<width>250</width>, etc” so i add “.nodeValue” to the end of the trace and then it returns NULL.

my head hurts! can anyone point me in the right direction or to a good tutorial? thanks!