Claus Wahlers released the update for FZIP, a AS3 class library to load, extract/decompress files.
Main updates are:
- Added support for Adobe Air. The Adobe Air runtime provides a low level inflate method, making it possible to load any ZIP archive and decompress compressed files without the need of injecting Adler32 checksums.
- Added FZipLibrary class for higher level access to files in a ZIP archive. “FZipLibrary processes files (based on file extensions) from an FZip instance and converts them into usable formats. Files can be converted to either a BitmapData or DisplayObject classes. Data embedded in SWF files (like classes) can also be retrieved. Flash’s built-in Loader class is used to convert formats, so the only formats currently supported are ones that Loader supports. As of this writing they are SWF, JPEG, GIF, and PNG.”
- Bug fix: There was a problem with filenames containing special characters. Filename encoding now defaults to UTF-8. In case the filenames are encoded differently in your ZIP, you can specify the encoding in the FZip constructor.
Brgds,
CP
ShareThis
July 23rd, 2007 at 12:17 pm
Is there a way to zip a group of file using adobe air + flex? or HTML + Javascript + Adobe AIR? I am making a flickr photo uploader with AIR and was looking for a way to simplify it by just zipping all the pics
August 15th, 2007 at 2:25 pm
I don’t suppose you know of a way to *create* zips with flash?
March 5th, 2008 at 7:37 am
Is there any method to unzip a content using flash+MDM zinc or AIR.
please do reply.
April 2nd, 2008 at 8:59 am
Is there a way to catch the error that occurs if you try to load a file which is not a zip file. (My application lets the user browse for a file to unzip – if he selects some other random file, I want to display an Alert).
April 18th, 2008 at 4:25 am
Is there a way to use this or something like it to unzip .rar files?
September 24th, 2008 at 4:26 pm
[...] Zoals: -save game creert een xml en wordt door Actionscript gezipped en op de server geplaatst. Zippen kan tegenwoordig met AS en het is vet, gewoon omdat het kan en het efficiënter gebruik maken van [...]