I have little problem with my script. Here is the code. http://pastie.org/2361140
When I set setInterval to somethi开发者_Python百科ng like 10 seconds, sound stops in about 10 calls to reset. But when its something like 20 mins it stops in first reset call.
Thanks.
Use a timer dude. I don't know if setInterval is something that is really used nowadays.
精彩评论