写入文件在AS3闪光发展 [英] Writing to a file in as3 flash develop

查看:207
本文介绍了写入文件在AS3闪光发展的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直都在做一些研究,我似乎无法找到写入文件什么。我最初的问题是写一个数组到一个单独的文件。但现在我正在寻找资源,如何写,如XML或数组到一个文件中的数据。我想要做的就是创建一个游戏编辑器。我想最终保存该数据以一个文件后面要打开。如果有人能帮助我,将是巨大的。

Ive been doing some research and I cant seem to find anything on writing to a file. My initial question was writing a array to a seperate file. But now I am looking for resources on how to write any data such as XML or a array to a file. What I want to do is create a game editor. I want to eventually save that data to a file to be opened later. if anyone can help me that would be great.

推荐答案

您至少需要的Flash Player 10,并使用的保存功能从的的FileReference 对象。

You need at least flash player 10, and use the save function from the FileReference object.

<一个href="http://jeanphiblog.media-box.net/dotclear/index.php?2008/09/24/301-flash-cs4-filereference-save"相对=nofollow>另一个例子

这篇关于写入文件在AS3闪光发展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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