views:

51

answers:

2

Is this possible through flash?

I have to create a flash uploader where you can define the maximum number of files that can be selected.

A: 

It should be. It's not directly implementing.

Either you use multiple fields and have the user upload one file at a time using FileReference.

Either you use FileReferenceList, but let the user know, you will only upload the first files from the fileList array.

George Profenza
A: 

No, this is not possible. If you allow multiple select in a file upload dialog you cannot control the number of files selected. The best you can do is warn the user ahead of time that only a limited number of files will be used, then prompt the user afterwards if they select too many, perhaps giving them the opportunity select which files they want to upload with a checkbox list.

Troy Gilbert
Thank you! I will make it this way.
Alex