Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 AIR 2 应用程序中包含数据持久性的最佳方式是什么?
它是使用 flash.filesystem 创建您自己的读/写文件,还是使用 AIR 2 有新方法?
好像adobe几年前就在AIR中写了一个保存偏好的库,但从来没有添加到官方库中?现在我很好奇他们为什么不这样做,因为数据持久性是桌面应用程序的关键。
adobe 的 AIR Preferences 库(“as3preferenceslib”)由 3 个类组成,可在此处的 Google 代码中找到。我已经使用这些文件创建了一个 .SWC 并将它们添加到我的 AIR 2 库中。
可以在这里找到由 Jonnie Spratley 编写的展示如何使用 adobe 的 as3preferenceslib 的课程。