我試圖DataGrid的內容導出爲PDF的FileReference類有沒有保存()方法在Flex中
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 Builder 3構建簡單的Flex應用程序