I'm trying to add a 'pulsing' effect to a graphics layer but the 'pulse' is not consistently timed. There must be some issue with my setTimeout and setInterval functions, but I can't quite pin it down. Any help is much appreciated!
I've been testing with Mozilla Firefox. Its possible that this code does work and I'm just being crazy. Anyway, thanks for taking a look! Hopefully others can use this as a sample to get the same effect in another app.