How to inhibit multiselect with SWFUpload

39 Views Asked by At

SWFU.selectFile() doesn't work anymore due to changes in security model.

User click on the movie opens the dialog but I need to inhibit multi-select.

I have tried the following options to no avail:

  • file_upload_limit
  • file_queue_limit

It is not evident to me from the documentation which option inhibits multi-select. Can anyone advise?

1

There are 1 best solutions below

0
Peter Wone On BEST ANSWER

Found it in the source code, searching for "button". The default is

button_action: SWFUpload.BUTTON_ACTION.SELECT_FILES

and there is a value defined

SWFUpload.BUTTON_ACTION.SELECT_FILE