what is the best way to include data persistence in an AIR 2 application?
is it creating your own read/write file with flash.filesystem, or is there a new way with AIR 2?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.
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.
a class written by Jonnie Spratley showing how to use adobe’s as3preferenceslib can be found here.