开发者

What is the way to handle a user preferences file in Flex3?

开发者 https://www.devze.com 2022-12-20 20:13 出处:网络
I need a way to handle user preferences in a file. Of course, users can update their preferences. What is the best way to do that ?

I need a way to handle user preferences in a file. Of course, users can update their preferences. What is the best way to do that ? 开发者_开发问答.ini file or .xml file ... Any snippet to start with ? TIA


The easiest and most flex-like way of doing this would be to use a local shared object. You can save basic actionscript objects to the users system and access them at any time from any swf loaded from your domain. many games use this for their save feature and many websites use this as a cookie store and/or user preferences store.

docs and example - http://learn.adobe.com/wiki/display/Flex/Shared+Objects

0

精彩评论

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

关注公众号