Here’s an easy one for you guys. I’ve got a .swf that displays text and then has the effect of a shine when a gradient passes over it while it’s masked. I want this to happen every so often on a web site, say…every 2 minutes. Is it possible for the timer to control how often the .swf is restarted? Anyway, here’s my timer code I stuck in there:
var timer:Timer = new Timer(120000);
timer.addEventListener(TimerEvent.TIMER, onTimer);
timer.start();
I get an error on line two. What am I missing?