maxmil
05-28-2005, 10:43 PM
In my current application i would like to externalize all the messages (string literals) that the application uses.
My motivations are that i believe that this is a best practice for maintaining clean and readable code, that modification of texts is much easier when the strings are externalized and above all that this makes internationalization of an application a piece of cake.
Ideally i would like this to be kept in an external plain text file so that messages could be changed without the need to recompile the swf.
I have a Java background and am used to the luxury of .properties files, i guess that really i'm looking for a similar solution in action script.
All comments gratefully received.
max
My motivations are that i believe that this is a best practice for maintaining clean and readable code, that modification of texts is much easier when the strings are externalized and above all that this makes internationalization of an application a piece of cake.
Ideally i would like this to be kept in an external plain text file so that messages could be changed without the need to recompile the swf.
I have a Java background and am used to the luxury of .properties files, i guess that really i'm looking for a similar solution in action script.
All comments gratefully received.
max