Variable & Function descriptions

Hi there,

Here’s my question, it’s an actionScript noob question and i’m sorry for that. I’m trying to do build some kind of photogallery, with movieclip loaders, but instead of having only one movieclip to load each image, i want to have a lot of movieclips to each load one image (so it increases se loading speed), and i want it to slide, so I have one movieClip, named Main, which holds numerous movieClips (it’s not a movieclip loader, but each movieclip inside Main movieclip will be a movieclip loader), i have two buttons, one to go further, and one to go back. What i want to do is, basically, that once we clic on one button, for example the next button, the code tells “go inside Main movieclip and displaythe next movie clip” (for instance if we’re on the number 1, go to number 2) etc …

So i thaught i could give the movieclips inside the main movieclip a generic name, like n and n+1 (or n-1) and create variables but i don’t know the syntax and to be honest how i really have to do it (i know how to declare variables, functions, but it’s useless because i don’t know how to describe it so it’s understandable by flash)

i really need help for this it’s making me crazy, i’m searching for 2 weeks and i have to achieve this important project at the end of this week :’(