Can someone give me a quick help on my slideshow?

I’m doing an image slide show right now and I have the script set up like this:

image_mc.stop();

forward_btn.addEventListener(MouseEvent.CLICK, forward1);
back_btn.addEventListener(MouseEvent.CLICK, back1);

function forward1(event:MouseEvent):void {
gotoAndStop(frame + 1);
}

function back1(event:MouseEvent):void {
gotoAndStop(frame - 1);
}

I have the images inside a movieclip and my script is not working right now.
What do I have to do so that when I press the button it will allow it to change frames?