Stop function created in onClipEvent handler

How do you do what is in the topic? LEt’s say that function is on a MC, and then you are a few MCs away and a few parents up. How do you refer to it. You use the delete action, right? I just can’t picture how I would do it. For _root.onEnterFrame and within the same frame or same MC, you just use
“delete _root.onEnterFrame”, right? But how about when it’s in an onClipEvent (enterFrame).
Do I just use something like this to stop one and start another:


onClipEvent (enterFrame) {
if (_root.gsSolved) {
delete _parent_parent.myMovieClip.growGreenScale();
shrinkGreenScale();
}
}