Here's a small xml idea:
var file:File = File.applicationDirectory.resolvePath( "config.xml" ); var stream:FileStream = new FileStream(); stream.open( file, FileMode.READ ); config = new XML( stream.readUTFBytes( stream.bytesAvailable )); stream.close();
Just put the config.xml file in the src directory, it will appear in the installed folder when the release package is installed. I made config public var in my main application, so I can just do Application.application.config.someOption from anywhere in my project.
Lucki
source share