Found the answer, forgot to import flash.events.Event.

Instead of e:ComponentEvent used e:Event.