/ Published in: ActionScript
Don't forget to insantiate with an object or with 'this'.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
MovieClip.prototype.time = function (func, delay, arg1, arg2, arg3) { clearInterval(this.waiter); this.waiter = setInterval(func, delay, arg1); }
URL: http://minus.ws/note/?p=94