I just want to load an image from /sdcard/DCIM and put it into a Loader.
But air restrict access and i get an IOERROR no such url
var directory:File = File.documentsDirectory.resolvePath("DCIM/camera/image1.jpg");
var appStorageFile:File = File.applicationStorageDirectory.resolvePath(file.name);
file.copyTo(appStorageFile, true);
var loader:Loader = new Loader();
loader.load(new URLRequest(appStorageFile.url));
addChild(loader);
North America
Europe, Middle East and Africa
Asia Pacific