Help me to kill a function!

I have a function I call immediately when my movie loads…

There is another function I call where I want to kill the first & stop it doing what it was doing.

How do I kill the first function?