Help! AS3 Slideshow

I’m trying to recreate this slideshow where you can scan through the gallery and click on the image to load an external swf in it’s place.

This is exactly what I want to recreate.

http://www.guyseese.com/

so far I got this code:

/----start code —//

stop();

prev_btn.addEventListener(MouseEvent.CLICK, prevClick);

next_btn.addEventListener(MouseEvent.CLICK, nextClick);

function nextClick (event:MouseEvent): void
{
if(this.currentFrame == this.totalFrames)
{
gotoAndStop(1);
}
else {
nextFrame();
}

}

function prevClick (event:MouseEvent)
{
if(this.currentFrame == 1)
{
gotoAndStop(this.totalFrames);
}
else {
prevFrame();
}

}

//----end code -----//

thanks!

Kratos2010