开发者

Delete SharedObject preferences

I've developed an ActionScript 3.0 for Adobe Air application开发者_C百科 (it will run on Blackberry Playbook).

This app has some bugs and I've made an update.

When user install the new version I want to delete previous user data.

How can I do that?


You could put a property in the shared object to represent your version number, and when checking the data object, if the property is not found or is from an earlier version you know to delete the data object and create a new one.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜