开发者

Opening a file save dialog via JavaScript using Flash

I know that there is no implementation of File Save Dialog in JavaScript as of now, but it can be done with Flash. I am looking for a lib or source code in Flash that could do it for me so that I can call it via JavaScript. JavaScript knows the data and filename, I just want to open a file save dialog.

Also, would it be possible to save multiple files at once? The user may create a couple of files and save 开发者_开发知识库them, so, it would be nice if I need not open the dialog for each write. :)


Doug Neiner's Downloadify is a Flash/JS library that does this.

The main domain seems gone for some reason, but here is Doug's Github page.

Here is a blog post explaining the usage.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜