Opening a file save dialog using JavaScript using Flash

I know that at the moment in JavaScript there is no implementation of the dialog for saving files in JavaScript, but this can be done using Flash. I am looking for lib or source code in Flash that could do this for me so that I can call it via JavaScript. JavaScript knows the data and file name, I just want to open the file save dialog.

Also, is it possible to save multiple files at the same time? A user can create a couple of files and save them, so it would be nice if I didn’t need to open a dialog for each entry. :)

+2
source share
1 answer

Doug Neiner Download is the Flash / JS library that does this.

The main area seems to be lost for some reason, but here's the Doug Github page.

Here is a blog post explaining usage.

+3
source

Source: https://habr.com/ru/post/1309133/


All Articles