0

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");
Matthias Robbers
  • 15,689
  • 6
  • 63
  • 73

1 Answers1

1

Check out the ImageAdv class in MDM's Livedocs

ImageAdv contains methods like loadJpg and saveJpg, probably this will help you.

Nalaka526
  • 11,278
  • 21
  • 82
  • 116
overflow
  • 78
  • 1
  • 6