The menu slider

Hi every1. I not so good at as so I got a problem. I have done the “menu with slider” tutorial but now my movie is built up in a other way. I have now a movie clip with 2 other movieclips. In those two movieclips I have one button each. Now I want these two buttons to make the slider slide. Look at the drawing to understand better. And I have a Next and a Prev button and 6 images. How can I make the slider go back, foward and when i’m at nr 6 image, pressing foward, nr 1 image comes, the slider go back to nr 1. The image slide is allready done. Hope I have make myself clear on this.

http://digitalangel.se/picture1.png