This is essentially continuation of the file-at-a-time version discussed in this tutorial. It uses FileReferenceList to upload as many files as one can select at a time.
There are probably a number of uses for this, but the most obvious is image-uploading. An AS3 version would be similar, though the event handling and UI would be slightly different. Ask if you’d be interested in a conversion. I might write a tutorial on this in the future, so this post is somewhat short.