Repeating thumbnail scroller

Hi,

I’m trying to create a repeating thumbnails scroller, but am stuck. It doesn’t repeat itself at the right place and I can’t figure out why.

Please have a look at the attached file.

I really need your HELP!
:d:

Thanks!!!

Here’s the script I’ve used

first action script:
mover = getProperty(“scrollingobject”, _x);


2nd action script (in next frame):
mouseh = getProperty("/tracker", _x);
mousev = getProperty("/tracker", _y);
if (Number(mousev)>415 and Number(mousev)<490) {
movevalue = (Number(movevalue*8)+Number(((mouseh-320)/20)))/10;

}


3rd action script(in next frame):
mover = Number(mover)+Number(movevalue);
if (Number(mover)>640) {
mover = 0;
}
if (Number(mover)<0) {
mover = 640;
}
setProperty("/scrollingobject", _x, mover);
gotoAndPlay(20);