从 flex web 应用程序将文件保存在本地机器上 [英] save a file on a local machine from a flex web app

查看:30
本文介绍了从 flex web 应用程序将文件保存在本地机器上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法从在线 flex 应用程序保存而不是另存为到某人的本地机器上?基本上,如果用户在在线 flex 应用程序中打开他们机器本地的文件,有没有办法允许他们在本地保存它而无需通过对话框和选择文件名?

is there a way to save, not save as, from an online flex app onto someone's local machine? Basically, if a user opens a file local to their machine in an online flex app, is there a way to allow them to save it locally without going through dialog boxes and picking file names?

注意:我已经读到这在 Air 上是可能的,但在 Flex 中似乎不太可能 - 我希望可能存在一些解决方法......

Note: I've read that this is possible on Air, but seems unlikely in Flex - my hope is that some workaround may exist...

谢谢!

f

推荐答案

没有.出于安全原因,在线应用程序无权访问用户的硬盘.这就是添加另存为"功能的原因.它允许用户选择保存文件.

No. For security reasons, the online application does not have access to the user's harddrive. This is why the "save as" functionality has been added. It allows the user to choose to save a file.

这篇关于从 flex web 应用程序将文件保存在本地机器上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆