Currently Being Moderated
Dec 17, 2008 10:30 PM
Hi to all,
Is there a way to create a new directory or file in
application install directory programatically.
I want a xml file to be created with in the application
install directory programatically(not the application storage
directory)
I have used the following code snippet:
var file:File = new File();
file = File.applicationDirectory;
file = file.resolvePath("assets");
if(!file.exists)
{
file.createDirectory()
}
I am thrown an exception when using this .....Security
Exception