views:

102

answers:

0

Hi,

Is this possible with AIR (I'd really think it is but don't see any mention in the docs...) - I want to include a few files when packaging the AIR file - nothing to do with how it works, but files I want the end user to have.

eg. Say I have a folder of word docs, or pdfs or whatever - I want to put a button in the AIR file that the user clicks and then selects a location to save those files to their computer. Doesn't need to be processed or anything, simply copy files to the location the user chooses...

So how would I go about that? I can see where I can add files (using flash IDE as the packager - can add files/folders) - but how do I reference them and how do I save them to the users computer? I guess best would be to add a zip, and then unzip to a user-selected location... I did see a mention of that somewhere but it said sub-folders within the zip were out and I'd really need that. So one folder (plus subs) copied from AIR file to users computer...

Any pointers much appreciated!

C.