[Need Help!] Basic eToy Application Error #1009

Hey everyone,

Just need some help on an assignment I am working on and the teacher and I cannot figure out why the error is occurring. I have tried retyping the code and changing instance names. Also double-checked that all the instance names that I am referring to are correct.

‘stockbody_btn’, ‘shadow_body_btn’, etc… are the instance names for the buttons that refer to the movieclip called ‘bodykit’ with four frames inside it labeled ‘stockbody’, ‘blackbody’, etc…

If anyone can figure out what is wrong with it that would be great.

The error I am getting:

“TypeError: Error #1009: Cannot access a property or method of a null object reference.
at Function/<anonymous>()”

Here is the code:

stop();

stockbody_btn.addEventListener(
MouseEvent.MOUSE_UP,
function(evt:MouseEvent):void{
bodykit.gotoAndStop(“stockbody”);
}
);

shadowbody_btn.addEventListener(
MouseEvent.MOUSE_UP,
function(evt:MouseEvent):void {
bodykit.gotoAndStop(“blackbody”)
}
);

bubblegumbody_btn.addEventListener(
MouseEvent.MOUSE_UP,
function(evt:MouseEvent):void {
bodykit.gotoAndStop(“pinkbody”)
}
);

limebody_btn.addEventListener(
MouseEvent.MOUSE_UP,
function(evt:MouseEvent):void {
bodykit.gotoAndStop(“greenbody”)
}
);