Error message

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at play_fla::MainTimeline/frame1()

I am receiving this error message when my site loads. I have set up a simple flash button to go from frame 1 to frame 2. Frame 2 has a video on it and I am getting the above error message when the page loads.

The url is http:www.apvoices.com/main

Here is the code I have used to create the simple flash page. I am very new to AS3 so dont judge me :slight_smile:

forward_btn.addEventListener(MouseEvent.CLICK, moveForward);
back_btn.addEventListener(MouseEvent.CLICK, moveBackward);

function moveForward(e:MouseEvent):void
{
nextFrame();
//or gotoAndStop(2);
}

function moveBackward(e:MouseEvent):void
{
prevFrame();
//or gotoAndStop(1);
}