1120 Undefined Property Event

First off, I’d like to say that yes, I read the sticky, and yes, I’ve searched for solutions. The problem is, however, that I’m a super-noob when it comes to flash (done it for a total of a day now) and I simply do not understand the solutions that are given, and the ones that I do understand don’t solve the issue.

Alright:

I’m trying to make an object (more specifically a circle) move upon command, yet I keep running into this error: “1120: Access of undefined property event.” As I’ve understood it this error has something to do with the object being a null value, but I don’t understand how to fix this.


circle_mc.addEventListener(event.ENTER_FRAME, moveCircle);

function moveCircle(event:Event):void
{
    if(rightKeyIsDown)
    {
        circle_mc.x+=15
    }
    if(leftKeyIsDown)
    {
        circle_mc.x-=15
    }
}

If someone could help me out here I’d be greatly appreciative.