Tell flash what is he going to do when you call this function (creating a function)
There are other ways of doing this, but this one seems to be one of the best ways. Call a number of procedures and give it a function name.
function load_pictures(i)
//note that the i will be a pointer
into the a array of pictures for example.
{
Number=i+1+"/"+xmax
//Number of the picture you are watching
// total number of pictures you can assign
a text box to show this up
name = thePictureArrayName[i]
loadMovie(name,name of the empty movie clip)
pictinfo = The picture name[i]
//you can later on use this variable and assign it to
//a text box where you display the name of the picture
//you are watching now.
}