开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜