Groups | Blog | Home
all groups > flash actionscript > november 2006 >

flash actionscript : passing parameters to a function in setInterval()


kglad
11/23/2006 8:01:39 PM
try:

kglad
11/23/2006 9:33:26 PM
aa
11/23/2006 10:15:34 PM
If I wanted to set inteval for a function requiring a parameter, how do I
pass the parameter?
If I do like this:
var myInterval =setInterval(f(p),2000);
it causes the functuion to execute immediately

aa
11/23/2006 11:19:34 PM
Thanks
[quoted text, click to view]

AddThis Social Bookmark Button