Sep 18, 2009
AS3 Java-style .properties parser
Posted by Mikea | Filed under MadeByPi® Labs

You might be familiar with .properties files if you've worked with ant or Java in general.
If not, in short they're text files containing name-value pairs, usually used for application or build configuration. They allow comments and property values split over multiple lines, with a \ line-end delimiter.
For a recent project I needed to be able to parse, in Flash, .properties files coming from a java-based cms - so made the PropertiesParser.
I'm making it available here, with a small example showing the parsing of a .properties files and reading values from the result.
I hope it comes in useful











