保存数据到外部文件中的AS3,与出服务器?服务器、文件、数据

2023-09-08 11:57:53 作者:与星星私奔

HI

我如何保存在本地硬盘的一些文本信息与从服务器的支持。我知道共享对象,但我不使用它。我需要保存所有这些功能在花药外部文件为文本。

有没有办法做到这一点的 AS3.0

我不知道preFER的Flex,我在动作脚本3.0&放工作;闪存IDE

编辑:

  

我的SWF被保存在本地计算机。所以   没有服务器交互或浏览器   相互作用。瑞士法郎正在运行   本地文件夹并阅读txt文件   本地文件夹,并保存一次preSS的   保存按钮。

解决方案

使用了 保存 类的方法的FileReference 自Flash Player的 10.0

HI

进军低端网络存储 D LINK DNS 323性能测试

How can I save some text information in local hard-disk with out the server support. I know shared object, but i dont use this. I need to save all these function in anther external file as text.

Is there any way to do that in AS3.0.

I don't prefer Flex, am working in Action Script 3.0 & Flash IDE

EDIT:

My swf is saved in a local machine. So no server interaction or browser interaction. the swf is running a local folder and read txt files from local folder, and save once press the save button.

解决方案

Use the save method of class FileReference since Flash Player 10.0