I am working in Flex Builder 3 and I am trying to figure out this error. The error console reads "Access of undefined property EVENT." I am not understanding why this error is showing when I have already imported flash.events.Event. Flex is not recognizing with even the hinting helper pop up that appears when I type the addEventListener( . It should appear after the opening parenthesis right? Also, I cleaned the targets and still no luck. Thanks!
package {
import flash.display.Sprite;
import flash.events.Event;
public class testing extends Sprite
{
public function testing()
{
addEventListener(EVENT.ENTER_FRAME, loop);
}
private function loop(e:Event):void
{
}
}
}