I need my Flex app to generate a PDF (I'm using AlivePDF for
this) and then allow the user to save it. I know that Flex cannot
save directly to the disk so I've written a simple JSP to send the
data I POST back to the browser which opens the browser's open/save
dialog. This mostly works, but it requires the browser to open a
new window and really disrupts the experience of the Flex app.
Any ideas how the guys at picnik.com are doing their saving?
It's so seamless, it looks like they are popping up a FileReference
to save the file. I can't do this with my method because
FileReference.download doesn't allow my to pass a ByteArray in the