flash - how to kill a setTimeout() function -
I use the setTimeout () function through my application, but when the time to collect garbage method is just now Also runs and calls the function. How do I stop calling it on a certain function? I tried to empty it but it does not work
Returns a reference to the timeout, which You can then use when you call.
var myTimeout = setTimeout (...); ClearTimeout (myTimeout);
Comments
Post a Comment