How to stop an onClipEvent handler


First here is my code:

onClipEvent (enterFrame) {
    if (this.hitTest (_root._xmouse, _root._ymouse, true)) {
    } else {

…Simple really. This event handler tells 3 different movie clips to play forwards and backwards depending if the main movie clip has been rolled over. This all works fine… what I can’t seem to work out is when the movie clip is clicked I would like this event to stop and become disabled.

Any ideas?