How to stop an onClipEvent handler

Hi…

First here is my code:


onClipEvent (enterFrame) {
    if (this.hitTest (_root._xmouse, _root._ymouse, true)) {
        _root.maincell_mc.designcell_mc.nextFrame();
        _root.maincell_mc.printtext_mc.nextFrame();
        _root.maincell_mc.printtext_mc.printWorkText_mc.nextFrame();
    } else {
        _root.maincell_mc.designcell_mc.prevFrame();
        _root.maincell_mc.printtext_mc.gotoAndStop(1);
        _root.maincell_mc.printtext_mc.printWorkText_mc.gotoAndStop(1);
    }
}

…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?

Thanks