I am trying to compress a folder into a .zip file. I’m using the FZip library. This is what i have so far:
var zip:FZip = new FZip();
zip.addFile("Users/Vincent/Desktop/test/", null);
The folder test on my desktop is the folder i want to compress.
Now i would like to zip that folder and place the zip file on my desktop but they are talking about byteArrays etc. and i have no idea how to do this.
Can someone please help me?enter link description here
here is a working example, to make it short I used a lot of anonymous functions.
}