我正在尝试将DataGrid的内容导出为PDF
var bytes:ByteArray = myPDF.save(Method.LOCAL);
var f:FileReference = new FileReference();
f.save(bytes,"TestAttachment.pdf");
/* Call to a possibly undefined method save through a reference with static type flash.net:FileReference. */
我正在使用AlivePDF版本0.1.4.9和flex builder3来构建一个简单的Flex应用程序
发布于 2015-06-22 13:53:36
将flex SDK更新到3.6A,并将Flex编译器版本更新到10.1.0,感谢@(Yasuyuki Uno)和FileReference.Save
var f:FileReference = new FileReference();
f.save(bytes,"TestAttachment.pdf");
https://stackoverflow.com/questions/30705296
复制相似问题