Re: [flexcoders] Re: How do I include a file in the AIR app-storage directory at install time?

2008-12-15 Thread Johannes Nel
when creating an install you can include files which get dumped in the application directory. then on first time startup you use the file api to copy it over. no you should not write info in the application directory as permissions can be an issue, but copying from there is pretty simple. I have

RE: [flexcoders] Re: How do I include a file in the AIR app-storage directory at install time?

2008-12-15 Thread Jim Hayes
If you're using flexbuilder to package, then probably the easiest way is to check copy non embedded files to output folder in project | properties | flex compiler, But I find this to be a bit messy at times. If not, then you can kind of cheat. When you publish your .air file, it will offer you the

[flexcoders] Re: How do I include a file in the AIR app-storage directory at install time?

2008-12-15 Thread Jim Boone
I read what you say, but I don't know how to do that. How do I include it as part of the install? How do I copy it over? Does the AIR install include some sort of scripting? Also, on doing more research, I have found that it is not wise to include files that I am talking about in app-storage and

[flexcoders] Re: How do I include a file in the AIR app-storage directory at install time?

2008-12-15 Thread Jim Boone
Thank you both for your tips. I think I will just embed the SQL statements into the application and not go through the hassles that you both speak of. I think this will be cleaner from a deployment perspective. Jim --- In flexcoders@yahoogroups.com, Jim Hayes j...@... wrote: If you're using