Can I pause an infinite menu?

Hallo!

I used the very wonderful infinite menu tutorial on this site to create an ‘infinite gallery’ for a photographer (you can see at http://www.littlemissweb.com/kevinsaidler/ just click on any of the ‘galleries’ links).

He now wants to add a ‘pause’ button to the infinite galleries.

How on earth do I do this? (I’m really terrible at Flash. That’s why I love kirupa.com :love: ).

Malinki xx

Ps. And zis is ze code

onClipEvent (load)
{
xcenter=440;
speed=1/100;
}
onClipEvent (enterFrame)
{
var distance=_root._xmouse-xcenter;
_x+=(distancespeed);
}
onClipEvent (enterFrame)
{
var distance=_root._xmouse-xcenter;
_x+=(distance
speed);
if (_x > 0) _x=-6290;
if (_x < -6290) _x=0;
}

S’ok. Worked something out.