Hi, I hope this is the right place to ask this... I have a problem and am stuck.
I'm having trouble reading the path of a file before and after downloading (this is osx specific). The nativePath changes after downloading, and I don't really understand why...
Here's what I'm doing:
var arr_appDirectory: Array = new Array();
var file_app: File = File.applicationDirectory;
arr_appDirectory = file_app.getDirectoryListing();
txt_trace.text = (arr_appDirectory.nativePath);
So I take the .app, compress to zip, and ftp... after downloading, it returns a different path pointing to a temp directory.
before downloading .app the path returns
/Users/Username/Desktop/[a long path]/TEST.app/Contents/Resources/TEST.swf
after downloading and running the app, the path returns:
I don't really understand why, and is there a way of preventing that?
Thanks for any help.