Results 1 to 4 of 4
Thread: Saving files in a package
-
June 4th, 2010, 07:37 AM #1208Registered User
postsSaving files in a package
I would like to create an application whereby users can load in a number of files (images), manipulate them (move them about, basically) and then save the results. Easypeasy.
Now, my users typically aren't the most IT-literate people in the world (teachers, basically) and will struggle to understand that in order to use the results elsewhere, they will be required to move all the images and the data file (xml, probably) to whatever computer they need to use it on, re-install the app and then put the files in the appropriate directory to be loaded in.
So, to minimise how complicated this will be, I'd like to create a package (a .zip, perhaps - although I'd prefer a bespoke filetype) that contains the xml and the images, meaning that only one file needs to be moved, which can then be loaded in either via a load dialog, double-clicking it or even drag-drop onto the open app.
Is this possible?
-
June 4th, 2010, 08:55 AM #2208Registered User
postshttp://help.adobe.com/en_US/AIR/1.5/...de46-7d53.html
Link seems to indicate that reading from a zip file is possible.
-
June 4th, 2010, 10:17 AM #3208Registered User
postsA bit more research seems to indicate that I can store everything in a ByteArray, using the jpgEncoder class from as3corelib to encode the images into it and then appending the relevant data to the end.
Does this seem realistic? I've never used the ByteArray class before.
-
June 7th, 2010, 03:50 AM #4208Registered User
posts*bump*
No-one got any idea about this?
Similar Threads
-
Folder structure for the AS3 class files
By skyleena in forum ActionScript 3Replies: 14Last Post: February 21st, 2012, 12:05 AM -
Merge two .fla files into one
By giovanni57 in forum Flash IDEReplies: 1Last Post: March 3rd, 2010, 08:49 PM -
Sharing files with Flash CS3
By redconservatory in forum Flash IDEReplies: 0Last Post: March 2nd, 2010, 10:09 AM -
preload multiple files
By rockomole in forum Flash IDEReplies: 0Last Post: February 25th, 2010, 09:15 AM -
...export readable for flash .wmf from .ai files ? is it possible ....
By multimediamkt in forum Flash IDEReplies: 0Last Post: July 23rd, 2004, 01:34 AM

Reply With Quote
Bookmarks