Unzip and save files using as3?

后端 未结 2 1504
梦毁少年i
梦毁少年i 2020-12-06 19:11

I have a list of zip and rar files in a local folder.
All I need to do is to extract the contents of the zip as well as rar files and to save them in a folder with the s

2条回答
  •  孤城傲影
    2020-12-06 19:49

    There are a few libraries out there that deal with ZIP files in as3, but beware that this is no easy task for a beginner in ActionScript 3.

    • FZip seems to be the most widely used, but it requires that the ZIP archives have Adler32 checksums. Provided with the library there is a Python script that injects the checksum into ZIP files to preprocess the files before unzipping them.

    • As3 port of JZlib, an as3 library to use with Fzip instead of the Python script mentioned above.

    • AS3 Zip Library (the author states that is slower than FZip) that avoids the Addler32 checksum problem.

    • On Adobe Air, you can take a look at a detailed explanation and a working example in this article on the adobe website.

    Hope this helps!

提交回复
热议问题