我想确定保存图像的路径 .. \ DCIM
import flash.display.MovieClip;
import flash.display.Bitmap;
import flash.display.BitmapData;
import flash.display.*;
save_mc.addEventListener (MouseEvent.CLICK, ImageSave);
var transparent:Boolean = true;
var fillColor:Number = 0x00FFFFFF;
function ImageSave (image:MouseEvent):void
{
newwind.visible = true;
newwind.play();
var myBitmapData:BitmapData = new BitmapData(flashmo_pic.getChildAt(0).width,flashmo_pic.getChildAt(0).height,transparent, fillColor);
myBitmapData.draw (flashmo_pic.getChildAt(0));
var jpgEncoder:JPGEncoder = new JPGEncoder();
var imgByteData:ByteArray = jpgEncoder.encode(myBitmapData);
file = new FileReference();
var fileReference:FileReference=new FileReference();
file.save (imgByteData, "box.jpg");
}