Does it really deletes?


_global.movf = function (){
    this.onEnterFrame = function(){
        if(this._currentframe < this._totalframes){
            this.nextFrame();
        }
        else{
            delete this.onEnterFrame;
        }
    }
}

Hi! My first post! :beer:

I was wondering if you guys could help me out. As you can see the above code is a global function that plays the movieclip that calls it. My problem is that I dont know if the delete event really happens. I call this function a lot in my movie, so, it would be really important that it would be the less CPU intensive possible. So, does it really deletes??

Thanks! :thumb2: