So far I have this code which uploads the photo
mdm.Dialogs.BrowseFile.filterList = "Images|*.bmp;*.jpg;*.jpeg;*.png;*.gif";
function showPrompt(eventObj:MouseEvent):void {
var f:String = mdm.Dialogs.BrowseFile.show();
if (f!="" && f!=false) {
l1.source = f;
addChild(l1);
}
My question is how can I save the photo into another folder?
for example something like:
mdm.FileSystem.BinaryFile.setDataBA();
mdm.FileSystem.BinaryFile.writeData("c:\\myimage.jpg");