i just tried this and got to the stage of the coding
i coded it but keep getting this error
would you be able to help me?

THIS IS THE ERROR.

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

THIS IS MY CODE.
import flash.events.MouseEvent;

stop();

function Button1_clicked(e: MouseEvent): void {
gotoAndStop("Page1");
}

function Button2_clicked(e: MouseEvent): void {
gotoAndStop("Page2");
}

function Button3_clicked(e: MouseEvent): void {
gotoAndStop("Page3");
}

function Button4_clicked(e: MouseEvent): void {
gotoAndStop("Page4");
}

function Button5_clicked(e: MouseEvent): void {
gotoAndStop("Page5");
}

Button1.addEventListener (MouseEvent.CLICK, Button1_clicked);
Button2.addEventListener (MouseEvent.CLICK, Button2_clicked);
Button3.addEventListener (MouseEvent.CLICK, Button3_clicked);
Button4.addEventListener (MouseEvent.CLICK, Button4_clicked);
Button5.addEventListener (MouseEvent.CLICK, Button5_clicked);

IT SAID SOMETHING WAS WRONG WITH :
Button1.addEventListener (MouseEvent.CLICK, Button1_clicked);