Modifying the scolling thumbnail gallery

Hi,

Can anyone help me modify this code from the tutorial here on kirupa?
http://www.kirupa.com/developer/mx2004/thumbnails3.htm

I’m just trying to change it so that a small line of text appears under each thumbnail. Each line of text is pulled from the XML file and is created using createtextfield. But after a few hours trying to warp the code to get it to work I still haven’t gotten anywhere.

Any help is appreciated. thanks.

I’ve tried many different approaches of attaching these text fields to the mc but no go. These two lines do create a text field for each thumb-but these fields do not scroll with the thumbnails. I’d like these text fields to be inside the “thumbnail_mc” clip so that when the thumbnails scroll the text moves along with it.
////////////////////////////////////////
this.createTextField(“price”+k,k,0+(k*150),0,200,20);
this[“price”+k].text = price[k];

This is the area of code in question:
////////////////////////////////////////
function thumbnails_fn(k) {
thumbnail_mc.createEmptyMovieClip(“t”+k, thumbnail_mc.getNextHighestDepth());
this.createTextField(“price”+k,k,0+(k*150),0,200,20);
this[“price”+k].text = price[k];

tlistener = new Object();
tlistener.onLoadInit = function(target_mc) {
    target_mc._x = (target_mc._width+0)*k;
    target_mc.pictureValue = k;
    target_mc.onRelease = function() {
        p = this.pictureValue-1;
        nextImage();
    };
    target_mc.onRollOver = function() {
        this._alpha = 50;
        thumbNailScroller();
    };
    target_mc.onRollOut = function() {
        this._alpha = 100;
    };
};
image_mcl = new MovieClipLoader();
image_mcl.addListener(tlistener);
image_mcl.loadClip(thumbnails[k], "thumbnail_mc.t"+k);

}