I am writing an application to view files in flex. It displays a list of available files, which can be any type of file, and allows the user to select files to download. I want users to be able to select multiple files at once and click the download button only once.
However, I am having problems with this. FileReference allows you to upload only one file at a time. Therefore, I believe that I can just listen to the full event, and then start the next download after the previous download has completed. However, this does not work in flash 10+, since the FileReference upload method must be initiated by the user - this means that it cannot be called from the event call stack.
Is there any other technique that I don’t see that will allow me to do this?
source
share