Hello all.
I was wondering why my current code for calling a setInterval on a function doesn’t work inside my class.
I have this code inside one function, calling a second function.
intID = setInterval(selfReferential, dupe, 30, 0x000000);
The selfReferential keyword refers to the current class, but was defined previously. (selfReferential = this; )
I get no errors, but the dupe() function is never called. Oh, and I had the selfReferential variable replaced with the this keyword at one point as well.
Anybody have any idea why this is?
Thanks for all your help.
-Brekk