This is the code (simple):
var timer:Timer = new Timer(2000, 1);
timer.addEventListener(TimerEvent.Timer, onTimer);
timer.start();
function onTimer(evt:TimerEvent):void {
r1.filters = sampleFilters; }
This is the error:
"access of possibly undefined property Timer through a reference with statis type"
And I do did import flash.events.TimerEvent; --- am I supposed to import something else? Is this the problem?
TIA
