1 Reply Latest reply on Aug 22, 2007 7:55 PM by fwitt

    Using setInterval instead of onEnterFrame

    fwitt Level 1
      How could I use setInterval instead of onEnterFrame in this case?

      The original:

      this.onEnterFrame = function() {
      trace(titles[this._name]);
      }

      What I would like:

      titleInterval = setInterval( function(){ trace(titles[this._name]); }, 100 );

      Obviously the way I'm using the interval method doesn't work. I basically want to know how to use 'this.' within a function.