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;


Leave a Reply

Your email address will not be published. Required fields are marked *