Using XML/Actionscript to show an image in Flash MX 2004 (What am I doing wrong?)

Heya,

I was wondering if someone could look at this coding that I am using to display XML data. Currently everything loads perfectly except for the thumbnails and I really cannot figure out why or how to make it work. All thumbnails are .jpg’s so that’s not the issue, I know it has to do something with the coding.

if (items*.attributes.type == “article”) {
// create variables for our elements
var article_title = items*.firstChild; //
var thumb = items*.childNodes[1]; // second child node

        var item_mc = menu_mc.attachMovie("menu_item","item"+item_count, item_count);
        item_mc._y = item_count * item_spacing;
        item_count++;
        
        //
        item_mc.title_txt.text = article_title.firstChild.nodeValue;
        item_mc.picture.MovieClip = thumb.firstChild.nodeValue;

Any help would be greatly appreciated as is this problem is the only one left I need to solve. If there’s anything else you need to help further, please let me know and I’ll reply ASAP.

-Ind