STOP an onClipEvent(enterFrame)

Hi, there all…

Someone toll me that if I use “lots” of onClipEvent(enterFrame) events
my movie it may get just a lot slower… so…

is there a script or way to stop the enterFrame when its events have been processed?

I was thinking to use:

onClipEvent(enterFrame){
// do Stuff calculation from 1 to 100
calculation = calculation +=1;
if(calculation <= 100){
// do stuff until calculation => 100;
}else{
break;
}

is it ok, or is there a smarter way?

THANKS