View Full Version : [AIR] Creating a file

05-02-2010, 07:08 PM
Alright, when I'm using AIR, it's creating files in the roaming directory called com.adobe.example.MyApplication.

How do I change the directory name to just "My Application" instead of having the com.adobe.example??

Also, within the com.adobe.example.MyApplication folder, there's ANOTHER folder called Local Store. How do I get rid of this folder?

I used this syntax in Actionscript 3.0 to create the file:
var file:File = File.applicationStorageDirectory.resolvePath("myFile.txt");

Right now, the file structure it's saving is: appData > Roaming > com.adobe.example.MyApplication > Local Store > myFile.txt

I'm trying to get it to store it like this: appData > Roaming > My Application > myFile.txt.

How do I do this? or is it not possible in Adobe AIR?