The web site for Flash ActionScript 3.0 game developers

 
         
   

Random Images in Sliding Puzzle Game

Hi,

I need to have the Sliding Puzzle Game load a random image from a folder each time it starts. I have an xml file which I can pull in, parse and access the data from, but I'm having trouble with the rest. I'm not really sure how to go about-

a) the random function
b) pulling the image in from the external directory.

thanks in advance



Copyright Gary Rosenzweig