I threw together a simple application for zipping and unzipping files in AIR using the FZip project. The application isn’t earth-shattering, but it’s a nice Flex 4 and AIR sample project, and all the source code is available. Screenshot below.
Looks good Christian. I’ve been playing with FZip recently too, you may be interested in the update I’ve made to the code which allows you to check if a file already exists. The code’s up on GitHub: http://github.com/markstar/fzipCheers,Mark
How would you change the ZipView class to include empty folders in a zip instead of ignoring them? I’m trying to change that but can’t quite figure it out.
Nevermind! Figured it out!
thanks for this great example… we’re using it to batch zip SCORM learning objects for upload to an LMS (Learning Management System)
I’m implementing error trapping for the usual reasons and also because we’re calling onCreateArchive from a loop… so I need to know when the Fzip instance is finished.
I’m not having any success in dispatching the events available (either AS3 or FZip specific) on the FZip instance. I see that the core class is extending EventDispatcher… so that should be good to go… but when I include something like:
var zip:FZip = new FZip();
I get nothing.
I see that the FZip class object defines the complete event:
any insights appreciated…. thanks in advance
Hello, thanks for your example! After zipping files with your utility in Windows 7 x64 (russian version) I have got a problem. In default windows explorer russian file/folder names looks like this http://i.imgur.com/gmzh7.png and when I try decompress data with default windows explorer an error occures (0x80010135 too long path…). Meanwhile in Total Commander file manager all looks and works fine. Any insights appreciated…. Thanks in advance.
Copyright © 2017 Adobe Systems Incorporated. All rights reserved.