Is this possible? (Random Images)

I am pretty new to actionscript, but I am trying to learn as much as I can. I have an idea to make a flash movie that loads 25 random pictures (5 pictures by 5 pictures). Also, somehow, after 5 seconds or so, I want to have a random (any of the pictures) to change into another random picture. Is that possible, too? What I would love to do is specify the folder where the pictures are, so that I can select any picture of the 200 or 300 or 400 pictures that are in that folder. Is that possible? I have been seeing so many times in the XML files that the pictures are already specified, meaning that no other pictures could be added with out altering the file.

If I am going to be able to do this, I need to know how to:

  1. load 25 random pictures

  2. after 5 seconds or so, have 1 picture change… and keep the process repeating.

  3. If I am loading pictures from a folder in a computer, I wont change the attributes of the pictures. Is there a way in flash so that it would automatically adjust the size of the pictures. Does the “scale (matrix.scale)” have anything to do?

  4. Will I have to make 25 individual “movie clips” and name them holder0, holder1, etc… to hold each file?

If anyone knows where I can read about any of this, that would be great.

Thanks in advance,


Hey ltjlogic did you ever find a solution to this? If so i would love to hear it, I’m trying to achieve something similar.