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");
4

1 回答 1

1

查看ImageAdvMDM 的 Livedocs 中的课程

ImageAdv包含和之类的方法loadJpgsaveJpg这可能会对您有所帮助。

于 2013-05-21T15:59:19.707 回答