Prima ho sbagliato a scrivere
Ho scritto delete thia.onEnterFrame...invece è this.onEnterFrame
Se avevi corretto o non andava, prova con
delete _root.onEnterFrame
Ed eventualmente aggiungi un tot = 0