I’m using delete to remove a function, but I’m wondering how clean it is? Is it likely to cause issues if I have the following:
up_btn.onRollOver = function() {
blog_mc.onEnterFrame = function() {
this._y +=10;
}
}
up_btn.onRollOut = function() {
delete blog_mc.onEnterFrame;
}
It works fine, but the rapid creation and deletion of functions makes me… twitchy