Error 1046:Timer event type not found


I keep getting the error “Type was not found or was not a compile-time constant TimerEvent.”
I imported flash.utils.Timer and flash.utilsTimerEvent, yet I’m still getting the error. Here are the important parts of my code:

//Not sure if both are necessary, but I tried individually with each
import flash.utils.Timer;
import flash.utils.TimerEvent;

public dynamic class Main extends MovieClip {
              var shotTimer:Timer = new Timer(1000, 0);
              shotTimer.addEventListener(TimerEvent.TIMER, shootTheBullet);

function shootTheBullet(event:TimerEvent) {
// code