Posted by pavanshinde in SWF Studio V3 on May 25 2011, 03:40 am

Hi northcode,

I have a question about zip and unziping files using Deflate and Inflate commands.

Does the Inflate command can decompress a zip or rar file created by winzip or winrar or May be zip created by PHP code.

What i want to do is download a zip file using the FTP plugin and then decompress it on the local system using the Inflate command. Is it possible?
If not then is there any other way i can do this?

any help will be appreciated.


Posted by northcode in SWF Studio V3 on May 25 2011, 09:53 am

The compression functions in SWF Studio use the same underlying algorithms as ZIP uses for each file but SWF Studio doesn't know anything about the ZIP file format.

There are a couple of AS3 based ZIP utilites you can have a look at. I'm guessing that they depend on having access to a server so you'll probably have to tweak the source to make them work with SWF Studio and your local files.

FZip - codeazur brasil lab
AS3 ZIP Library -

Posted by AGo in SWF Studio V3 on May 26 2011, 07:30 am

you can also integrate 7zip if your license is compatible with theirs (odds are pretty good)