Hi guys, I am really hoping you can help me shed some light on this issue. I am trying to download a PDF-file from the web. The file is generated by OpenOffice.org through the excellent JODConverter web-service. I have some Ruby code that will allow me to download the file and save it to disk. The code works great and the file opens without a problem.
I have now ported my code to ActionScript 3 in the hopes of using it to download the PDF-file directly from my AIR app. However, there are some FlateDecode blocks in the source of the PDF-file that I am downloading. Those blocks seem to get messed up by the Flash Player/AIR, when I try to write the file to disk using FileStream.