You can get the storage directory through
File.applicationStorageDirectory.nativePath
Then build your path:
File.applicationStorageDirectory.nativePath + "/examplepuzzle.xml"
Question
I have an application prepared in Action Script 3. There is a part related to requesting a file from application storage directory. However when I use following codes (xmlLoader part), program looks into app directory.
How can I make it look into application storage directory or may any other code alternatives be used for this request? Thanks.
var xmlLoader:URLLoader = new URLLoader();
xmlLoader.load(new URLRequest(Puzzleoriginalpath + ".xml"));
Solution
You can get the storage directory through
File.applicationStorageDirectory.nativePath
Then build your path:
File.applicationStorageDirectory.nativePath + "/examplepuzzle.xml"