Got stuck creating an interactive slideshow

Hi Everyone

I’m a bit stuck trying to get a slideshow to work for a website.
I have buttons that I want to play different frames of a movie clip. the movie clip is called “slideshow”

heres the code I have for one of the buttons(t1 is the instance of the button)

t1.buttonMode = true;
t1.addEventListener(MouseEvent.ROLL_OVER, t1Over);
t1.addEventListener(MouseEvent.MOUSE_OUT, t1Out);
t1.addEventListener(MouseEvent.CLICK, t1Click);

function t1Over(event:MouseEvent):void{
t1.gotoAndPlay(“Over”);
}

function t1Out(event:MouseEvent):void{
t1.gotoAndPlay(“out”);
}

function t1Click(event:MouseEvent):void{
slideshow.play();
}

What i would like is for the function “t1click” to start playing at a particular frame in the movieclip “slideshow”

my intention is to have each button play a different part of the movie clip.

it seems like it must be simple, can anyone help me out?

thanks a lot

thank you