Re: [Flashcoders] Air Windows installed app

2014-03-01 Thread natalia Vikhtinskaya
Thank you all for the help. Finally I understand where is problem. I created App with runtime embedded. Then I used Advanced Installer http://www.advancedinstaller.com/ and created installer package. By default it installs my app to Program file folder. The App runs but nothing write on the disk.

Re: [Flashcoders] Air Windows installed app

2014-03-01 Thread Hans Wichman
Have your app write files into the users document area instead of a subfolder of the app which will be in the Program Files folder and under restrictions. Part of it might be solved by instructing advanced installer to enforce the user to have administrative permissions. best Hans On

Re: [Flashcoders] Air Windows installed app

2014-03-01 Thread natalia Vikhtinskaya
Installer put app to c\programfiles\companyname\folder\folderwithapp Installer do the job and copy files.The App when it placed in Program files folder with subfolder with xml fil does not write it when I change xml and save it in app. Everythng works if app placed not in Programfile folder.

Re: [Flashcoders] Air Windows installed app

2014-03-01 Thread natalia Vikhtinskaya
This is code in app var appDirectory:File = File.applicationDirectory;//File.applicationStorageDirectory var fileString:String = appDirectory.nativePath; var appFile:File = File.documentsDirectory; var setsFile:String=fileString+File.separator+data+File.separator+sets.xml function

Re: [Flashcoders] Air Windows installed app

2014-03-01 Thread Henrik Andersson
natalia Vikhtinskaya skriver: This is code in app var appDirectory:File = File.applicationDirectory;//File.applicationStorageDirectory var fileString:String = appDirectory.nativePath; var appFile:File = File.documentsDirectory; var

Re: [Flashcoders] Air Windows installed app

2014-03-01 Thread natalia Vikhtinskaya
Ok, I understand. Where I must save my data?I have them in the same folder as fla file. 2014-03-01 16:58 GMT+04:00 Henrik Andersson he...@henke37.cjb.net: natalia Vikhtinskaya skriver: This is code in app var appDirectory:File =

Re: [Flashcoders] Air Windows installed app

2014-03-01 Thread erik mattheis
In your code, change every File.applicationDirectory to File. applicationStorageDirectory On Sat, Mar 1, 2014 at 7:44 AM, natalia Vikhtinskaya natavi.m...@gmail.comwrote: Ok, I understand. Where I must save my data?I have them in the same folder as fla file. 2014-03-01 16:58 GMT+04:00

Re: [Flashcoders] Air Windows installed app

2014-03-01 Thread David Cohn
Natalia, In saveXML, try: appFile = File.applicationStorageDirectory.resolvePath(data/sets.xml); Several quibbles with the code, but this should work... HTH, --Dave Ok, I understand. Where I must save my data?I have them in the same folder as fla file. 2014-03-01 16:58