Stop timer

Hey Guys, i am creating a game in flash. You basically have to go and find objects and when the timer hits two minutes it gives you an update on what you have found and what needs to be found.

_root.onEnterFrame = function() {
time = Math.round(getTimer()/1000);
if (time == 120) {
_root.remaining.gotoAndPlay(“objectsRemaining”);
}

What i need it to do is to stop the timer if you have found all objects before 2minutes. Because say you find the last object just before two minutes then it will take you to that “objectsRemaining” screen which i don’t want.

So is there a way i can stop the timer?? So soon as the person finds the last object the timer stops?? or is there another solution to this???

Thanks for you help!

:puzzled: