AIR 2 - 数据持久? [英] AIR 2 - Data Persistence?

查看:93
本文介绍了AIR 2 - 数据持久?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是包括数据的持久化在AIR 2应用程序的最佳方法是什么?

what is the best way to include data persistence in an AIR 2 application?

是创建具有flash.filesystem自己的读/写文件,还是有一种新的方式与AIR 2?

is it creating your own read/write file with flash.filesystem, or is there a new way with AIR 2?

推荐答案

好像是土坯写了节省preferences在AIR年前图书馆,但从来没有把它添加到官方的库?现在我很好奇,为什么他们不这样做,因为数据持久性是关键的桌面应用程序。

it seems that adobe wrote a library for saving preferences in AIR years ago, but have never added it to the official library? now i'm curious why they would not have done so, since data persistance is key for desktop applications.

Adob​​e的AIR preferences库(AS3 preferenceslib),由3个班,可以在谷歌code <一个被发现href="http://$c$c.google.com/p/as3$p$pferenceslib/source/browse/trunk/src/com/adobe/air/$p$pferences/?r=10"相对=nofollow>此处。我已经使用这些文件创建一个名为.swc,并将其添加到我的AIR 2库。

adobe's AIR Preferences library ("as3preferenceslib"), consisting of 3 classes, can be found on Google Code here. i've created a .SWC using these files and added them to my AIR 2 library.

一写的Jonnie斯普拉特利展示了如何使用Adobe的AS3 preferenceslib类可以发现的这里

a class written by Jonnie Spratley showing how to use adobe's as3preferenceslib can be found here.

这篇关于AIR 2 - 数据持久?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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