Help with caption for image gallery

hi,

i have this gallery and its pulling from an xml file with this setup

<config>
    <galleries>
        <folder name="details ">
            <gallery name="something " bydefault="true">
                <img src="anne10blur.jpg" width="576" height="384" infotext="whatever this image is" infotext="Some photo"  />
</gallery></folder></galleries></config

on the _root i have a movieclip for the caption itself, first frame of that movieclip has this

//tf.background = true;
//tf.backgroundColor = 0xffffff;

var showthreadid = 0;
function showthread(){
    _x += Math.round((_root._xmouse - _x + 10)*0.3);
    _y += Math.round((_root._ymouse + 20 - _y)*0.3);
}
function _show(_text){
    if(_text==undefined or _text==null or _text==""){
        _text = "[No information about this picture has been provided]";
    }
    this._x = _root._xmouse;
    this._y = _root._ymouse;
    tf.text = "";
    tf._width = 1;
    tf._height = 100;
    tf.text = _text;
    tf._x = 5;
    tf._width = Math.min(tf.textWidth + 10, 180);
    tf._height = tf.textHeight + 5;
    back._x = 0;
    back._y = 0;
    back._width = tf._width + tf._x;
    back._height = tf._height + tf._y;

    if(showthreadid==0){
        this.onEnterFrame = function(){
            this._alpha += 15;
            if(this._alpha >= 100){
                this._alpha = 100;
                this.onEnterFrame = null;
            }
        }
        showthreadid = setInterval(showthread, 20);
    }
}

function _hide(){
    this.onEnterFrame = function(){
        this._alpha -= 10;
        if(this._alpha <= 0){
            this._alpha = 0;
            this.onEnterFrame = null;
        }
    }
    clearInterval(showthreadid);
    showthreadid = 0;
}
function _hide2(){
}

this._alpha = 0;
_hide();

stop();

now Im trying to get it so that when the viewer hovers their mouse over the image it shows that caption movie clip. my movie is set up like:

on the root is the caption movieclip and then another movieclip called siteblock for the rest of the movie. inside the siteblock i have basically everything to run the gallery, thumbsmovieclip, imageholder, menu, and so on.

within the imageholder movieclip I put this on the first frame:

this.onRollOver = function(){
    _root.hintmov._show(_root.siteblock.thumbsmov._infotext);
}
this.onRollOut = function(){
    _root.hintmov._hide();
}

i’m kind of reappropriating this script from another flash file i found. instead of _root.siteblock.thumbsmov they had this._parent.infotext.

that aside. so im trying to have the imagemovie show the hintmovie(hintmovie = caption movieclip). inside the thumbsmov I had inserted this script in with the other scripts loading the xml file:

itemmov._infotext = curnode.attributes.infotext;

so it looks like this

if (curnode.nodeName == "img") {
                    srcthumb.duplicateMovieClip("item"+count, count);
                    itemmov = eval("me.item"+count);
                    itemmov.w = curnode.attributes.width;
                    itemmov.h = curnode.attributes.height;
                    itemmov._caption = curnode.attributes.caption;
                    itemmov._infotext = curnode.attributes.infotext;
                    itemmov.me = itemmov;
                    itemmov.onPress = function() {
                        this.goahead1 = function() {
                            // trace("goahead1() : " + me);
                            _parent.resizeto(this.w, this.h, this);
                            _parent.tfscroller._hide();
                        };
                        this.goahead2 = function() {
                            // trace("goahead2() : " + _parent.imageholder);
                            // trace(this + " " + this._caption);
                            this._parent.setphotocaption(this._caption);
                            _parent.imageholder.loadimage("images/"+this.src);
                        };
                        this._parent._parent.imageholder.removeimage(this);
                    };

now with all that done. the caption movieclip plays when you put your mouse over the image, but I get the error text, that no information is provided. I’m not sure if this has to do with the code applied to the imageholder itself or what. maybe its just a linking issue. If this makes any sense to anyone. I would appreciate any input. I can post the fla file if needed. I know this probably isnt enough to go off of, but I’ve everything and im stumped.