Gallery onclipEvent not working properly

It’s been a long while since I’ve worked with Flash,
so bear with me…

I have this altered gallery (from the kirupa photogallery)that works onClipEvent.
I think it was made with MX2004, but when I test it online,
it’s not working properly:
http://www.maremonti.nl/frames/test.html

Could this have to do with the code?:

onClipEvent (load) {
	start = getTimer();
}
onClipEvent (enterFrame) {
	nu = getTimer();
	tijd = (now-start)/1000;

	if (tijd>=4) {
		start = now;
		_root.changePhoto(1);
	}
}

Hope someone can help…thanks