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
精彩评论