Reset thumbnail scroller help please

I’ve got 3 pages each with their own portfolio loaded dynamically from an XML file. Everything is working great with the thumbnails i added using the “adding thumbnail” tutorial.

There’s only one quirk I can’t figure out. If you’ve scrolled to the end of the thumbnails on the first portfolio, the scroller stays in the same place when you go to the next portfolio rather than reloading back at the beginning. I hope that makes sense because it’s hard to explain, but the site is www.kellystarbuck.com

here’s the partial code for the thumbnails…


[FONT=monospace]var curLength;
function loadXML(loaded) {
    p = 0;
    for (var j = 0; j<curLength; j++) {
        thumbnail_mc["t"+j].removeMovieClip();
    }
    if (loaded) {
        xmlNode = this.firstChild;
        image = [];
        thumbnails = [];
        total = xmlNode.childNodes.length;
        for (i=0; i<total; i++) {
            image* = xmlNode.childNodes*.childNodes[0].firstChild.nodeValue;
            thumbnails* = xmlNode.childNodes*.childNodes[1].firstChild.nodeValue;
            thumbnails_fn(i);
        }
        firstImage();
        curLength = total;
    } else {
        content = "file not loaded!";
    }
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("interiors.xml");

function thumbNailScroller() {
    // thumbnail code! 
    this.createEmptyMovieClip("tscroller", 700);
    scroll_speed = 5;
    tscroller.onEnterFrame = function() {
        if ((_root._ymouse>=thumbnail_mc._y) && (_root._ymouse<=thumbnail_mc._y+thumbnail_mc._height) && (_root._xmouse>=120) && (_root._xmouse<=820)) {
            if ((_root._xmouse>=(hit_right._x-80)) && (thumbnail_mc.hitTest(hit_right))) {
                thumbnail_mc._x -= scroll_speed;
            } else if ((_root._xmouse<=(hit_left._x+80)) && (thumbnail_mc.hitTest(hit_left))) {
                thumbnail_mc._x += scroll_speed;
            }
        } else {
            delete tscroller.onEnterFrame;
        }
    };
}
function thumbnails_fn(k) {
    thumbnail_mc.createEmptyMovieClip("t"+k, thumbnail_mc.getNextHighestDepth());
    tlistener = new Object();
    tlistener.onLoadInit = function(target_mc) {
        target_mc._x = (target_mc._width+20)*k;
        target_mc.pictureValue = k;
        smoothImageLoad(thumbnails[k], target_mc);
        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);
}
[/FONT]

[FONT=monospace]
[/FONT]I know there’s a way to reset the position of the thumbnails back to the beginning, just like i’ve reset p=0 and deleted and reset the previous thumbnails. I’ve tried several different things and nothing seems to be working.

Any help would be greatly appreciated!

Thank you in advance!!