File Chooser script interface

The IFileChooserInstance interface derives from IDOMInstance to add APIs specific to the File Chooser plugin.

File Chooser events

See instance event for standard instance event object properties.

"change"
Fired when a file or set of files has been chosen from the input control.

File Chooser APIs

click()
Acts as if the file chooser was clicked, which brings up the system file picker. This allows the button to be completely customized, as the actual File Chooser object can be moved offscreen, and a custom sprite or other object used to activate the click() method instead.
clear()
Reset the control to its initial state with no selection, clearing any prior picked file.
getFiles()
Return an array of File objects representing the currently chosen files.
Construct 3 Manual 2025-05-21