[MX2004] Linking buttons to a slideshow

Note: im a beginner with AS. Im reading (yeah reading! :)) the Actionscript Cookbook by Joey Lott to get better and more familiar with this language.

Okay, first of all look at this link
and go to > photo > things

What you get to see is a slideshow which you can browse through by hitting the Next (and / or Back button) button.
Also you see “numberbuttons”: 01 02 03 … 10 (there need to be 29 buttons since i have 29 photos, but please ignore that…) that are not connected to the Next and Back button at this very moment.

My question:

How can I link the numberbuttons to my slideshow AND next / back button?
Say, I go to 05 by pressing the button and from there I continue viewing the photos by hitting Next: then i would like to have the square around the numbers to follow with me to 06 and so on. Quite obvious if you ask me.
(to get a better idea of what i want, go here > portraits : browse the menu… notice the moving square. and yes, this nav doesnt have a back nor next button… just an example to show what i want)

Ofcourse, what i want depends on the script that ive been using. I have already tried out different codes but non of them wouldnt work proper (thats because of my lack of Actionscript knowledge). If you look at numberbutton 05 (notice .FLA below) you can see what ive been trying…


[fla with image dir](http://www.thisishamid.com/flash/photo_things_numbers.zip)

Ok thats it. I hope someone can help me out on this.
Thanks in advance,

Hamid