I'm making a Flash game where I need a way to store a lot of data about the world, as in data that is constant all throughout the game, between all gameplays. Lots of values (integer, float, string), grouped in objects hierarchy. The point is to make it easy to edit during development (like an ordinary text file, or XML) and to have zero performance overhead while reading the data, and minimal overhead at launch time.
The question can be reduced to this: how to put ready-to-use ActionScript objects with all fields already filled within the SWF file (without a need to run init functions on them)?
The first thing that comes to mind is that MXML is the way, but I have no idea how should I use it to get the job done - not to mention the possible overhead (I've read MXML is slow). Is it even possible to do so without a need to parse things? If not, what is best alternative? XML? JSON? Custom format and parser functions?