To do this properly, you should create the timer as an instance ... For AS2 use the setInterval function like so: .... Timer; import flash.events.
stackoverflow.com