Load random movie in folder

Using the “Loading Random Movies” tutorial as a start I was wondering if it was possible to alter the actionscript so that all of the movies in a folder would be part of the random load.

Essentially, I don’t want to have to specify the movie filenames or the number of files within the folder. All I’d have to do to add to the bank of movies is add to the folder.

I understand this will probably require a naming scheme for the files.

Any help would be appreciated.