问题
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