解决方法
实际上,使用刚刚发布的Flash 10,您可以保存到HD!对于这种情况,它非常方便.它非常安全,因为它只允许您在用户单击文件对话框中的“保存”后保存文件,您不能只是无所事事地编写文件.此外,还有已编写的代码,允许您使用BitmapData拍摄快照,并压缩为PNG或JPEG.我推荐PNG,因为它是无损的,这对于你正在创作的艺术品来说很不错.
以下是一些相关链接:
> Example creating and saving a JPEG to local harddrive
> Video tutorial about loading & saving files
> Another example,this time with text files
> API docs for FileReference.save()