After creating a onRelease handler in Actionscript 2 as follows:
myMovieClip.onRelease = function() { doWhatever(); }
..you then want to remove the handler for whatever reason, you can remove it like this:
delete myMovieClip.onRelease;
After creating a onRelease handler in Actionscript 2 as follows:
myMovieClip.onRelease = function() { doWhatever(); }
..you then want to remove the handler for whatever reason, you can remove it like this:
delete myMovieClip.onRelease;