simple file handling in flex/air/as3 flash builder
Posted on 2011-03-13
I think it is rather an stupid question but I need help to figure out how does flex/air handles storage directories. I have a sintax like this that will handle a xml file in future :
public var file3:File = File.applicationStorageDirectory;
file3 = file3.resolvePath("data/model.xml");
The thing is:
1 - file3 is a configuration file that will be read and updated during runtime, and I don´t know where to put the "data/model.xml" so that the project will be compiled right and installed correctly in the applications folder of another person´s computer.
2 - Can I use flash builder package explorer (the box in the left side of coding area) to handle these kind of file (considering that the file is loaded through that syntax above)?
Thanks in advance.