Removing onRollOver/onRollOut/onRelease

hi,

i have this code setup in a frame and after jumping to another frame i would like to remove it because its not needed there. actually its in my way. :puzzle:

the mymc is on one layer with only one keyframe at the beginning and then just frames till the end of my timeline. i attach the mcs dynamically to mymc and then setup my actions on another layer frame by frame, as needed.

in this specific frame i don’t want the mcx’s to react to mouse events.
how do i do that?


this.mymc.mc1.onRollOver  = function(){
    startDrag(_root.tooltip, true);
}

this.mymc.mc1.onRelease  = function(){
    
}

this.mymc.mc1.onRollOut  = function(){
    delete home.tooltip.onEnterFrame;
    home.tooltip._alpha = 0;
    stopDrag();
}

thank you for your help,:thumb:
dual