i'm trying to export the content of DataGrid into 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. */
i'm using AlivePDF version 0.1.4.9 and flex builder 3 for building a simple Flex Application
A FileReference is just a reference to a file, you are looking for a FileStream. Assuming the ByteArray is already the PDF content:
For directory locations on different devices, check this out