Help with Photo Gallery with thumbnails

I’m doing this tutorial http://www.kirupa.com/developer/mx2004/thumbnails.htm

But when I try to make all this flash into a movie clip, so I can put the gallery inside a flash I already have, it doesn’t scroll the thumbnails.:*( http://www.bac.cc/test/page1.htm

Is something in the action script that I have to change?

Thank you very much for you help!

Just found the solution! If someone is having the same problem
here is what I changed:

  • added “level1.” to the “if” line
    and removed “_root.” on the “else if” line

function thumbNailScroller() {
// thumbnail code!
this.createEmptyMovieClip(“tscroller”, 1000);
scroll_speed = 10;
tscroller.onEnterFrame = function() {
if ((level1._root._ymouse>=thumbnail_mc._y) && (level1._root._ymouse<=thumbnail_mc._y+thumbnail_mc._height)) {
if ((
_xmouse
>=(hit_right._x-40)) && (thumbnail_mc.hitTest(hit_right))) {
thumbnail_mc._x -= scroll_speed;
} else if ((_xmouse<=(hit_left._x+40)) && (thumbnail_mc.hitTest(hit_left))) {
thumbnail_mc._x += scroll_speed;
}
} else {
delete tscroller.onEnterFrame;
}
};
}

http://www.bac.cc/test/page2.htm