It seems that AS3 can read and write files compressed with the zip format! Thanks to some nice libraries supplied by helpful developers.
I am currently trying to work with some hideous proprietary data format, reverse-engineering a Flash app from the behaviour of a native app (no source code available) and its data feeds. The most nasty bit is that it’s an arbitrary format that uses commas, newlines and special strings as structural delimiters (so thank Adobe for the RegExp object!).
The other slightly nasty bit is that all data comes helpfully zipped up and nested within directories. I am currently trying to decide whether fzip is the best AS3 zip library to use (it seems to require the use of a Python script, but the Flash app is a desktop app, so that’s not necessarily a showstopper) or to use David Chang’s nochump.util.zip library, which is pure AS3 …




Recent Comments