Here how I try to save xml in the same folder where is my app
import flash.filesystem.File;
import flash.filesystem.FileStream;
import flash.filesystem.FileMode;
import flash.events.Event;
//personnel. xml file
......
// save to disk
var appDirectory:File = File.applicationDirectory;
var newFileStream:FileStream = new FileStream();
var fileString:String = appDirectory.nativePath;
var appFile:File = File.documentsDirectory;
appFile = appFile.resolvePath(fileString+"\personnel.xml");
trace(fileString+"\personnel.xml")
it gives path myfolderpersonnel.xml instead of myfolder\personal.xml
How to solve this problem?