flash actionscript access filesystem without air?

蹲街弑〆低调 提交于 2019-11-26 17:18:50

问题


Is there any workaround to allow actionscript3 write to file system without adobe air?

The reason is because, in order to use adobe air, each of the web visitors will need to install add-on air run-time and that is tedious. Most of the users will have flash plug-in and not Adobe Air.


回答1:


This is possible in Flash 10.

Take a look at the FileReference class, specifically the save method.

There are certain limitations imposed for security's sake, of course. The write can only be initiated by user interaction (e.g. a button click), and it will always pop up the host OS's File Save dialog box prompting the user to choose a location (or cancel).



来源:https://stackoverflow.com/questions/1417740/flash-actionscript-access-filesystem-without-air

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!