me gustaría saber cual es el problema por el cual al querer crear un archivo
en mi aplicación , esta misma me crea error al querer hacer un debug, aquí esta
el código que me provoca tal situación.
import flash.filesystem.File;
import mx.controls.Alert;
var dir = new File("app-storage:/myDirectory").nativePath;
trace (new File("app:/myDirectory").nativePath);
trace (dir.nativePath);
//Alert(new File("app:/myDirectory").nativePath);
//var path:String = "app-storage:/Data/property.xml";
var f:File = new File(dir+'test.txt');
f.nativePath = path;
//var newDir:File =File.applicationStorageDirectory.resolvePath("newDirectory");
/* if(file.exists){
trace ('File Already exist ahah!!');
}else{
trace ('File doens\'t exist');
}*/
La idea principal es crear un archivo xml desde cero, y luego ir metiendole informacion
si alguien sabe como hacerlo favor de darme un ejemplo y yo checo, de antemano gracias
