Delete a function?

Hey there! :slight_smile:

I was wondering if it’s possible to have a function on the first frame of my movie, let’s say like this:

onEnterFrame = function(){
restartTimer();
}

And then when the funtion has been executed, I wan’t to disable it (delete it)!?

Can this be done? :huh: