ryanm wrote:
To me, the most useful thing would be a a standardized implementation, so that it could be compressed at runtime or in advance, so that it can be used with packages like you were describing, or individual (possibly dynamic) files compressed by the server. Something like that will have to use the same CRC as the other common implementations of the same compression, so it will likely have to be entirely AS and not use the built in player compression.
ZIP is extendable through the use of implementation specific 'extra fields', so you could define your own extra field that holds the additional ADLER32 checksum.
If you compress at runtime in Flash, you'd just have to calculate the CRC-32 checksum. If you compress on the server, you'd just have to calculate the ADLER32 checksum.
Then if you uncompress your ZIP files at runtime in Flash, you'd get the ADLER32 checksum for your file from the extra field. Any other ZIP tool should still be able to uncompress that archive as is.
Cheers, Claus. _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com