flex imagesnapshot 捕捉图片

public function getImgSnapshot():void{

var imgSnapshot:ImageSnapshot=ImageSnapshot.captureImage(_areaChart, 120, new PNGEncoder());

var fileRef:FileReference=new FileReference();

fileRef.save(imgSnapshot.data, "chart.png");

}

你可能感兴趣的:(image)