保存数据到外部文件中的AS3,与出服务器? [英] Save data into external files in AS3, with out server?

查看:91
本文介绍了保存数据到外部文件中的AS3,与出服务器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI

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

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

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

编辑:

  

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

解决方案

使用了 <一个href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/FileReference.html#save%28%29"相对=nofollow>保存 类的方法的FileReference 自Flash Player的 10.0

HI

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

这篇关于保存数据到外部文件中的AS3,与出服务器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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