3 Replies Latest reply on Oct 14, 2007 8:23 AM by clbeech

    How do I kill onEnterFrame?

    evil_muffin_man
      Quick question:

      I use the following code a lot:
      this.onEnterFrame = function () {
      // .. some code <.<
      }

      I need to get rid of, remove, clear, whatever, the function stored. I've tried:
      this.onEnterFrame = function () {
      // ... other code
      }

      But this only seems to append the code (wtf), so then I tried:
      this.onEnterFrame = null;

      That doesn't work either.