I'm simply doing this:
private var _fs:FileStream;
var printPDF:PDF = new PDF( Orientation.PORTRAIT, Unit.MM, ps );
_fs = new FileStream();
var bytes:ByteArray = printPDF.save(Method.LOCAL);
The only event that is firing is OutputProgressEvent.OUTPUT_PROGRESS, which is giving me [once]:
private function onOutput (event:OutputProgressEvent):void
trace output here being:
0 / 229779
Nothing else fires, meaning I can't close the FileStream session, meaning starting a second causes this error:
Error #2041, Only one file browsing session may be performed at a time
Been struggling for days. Going mental. Any ideas?
I am facing similar problem with my applcation. Did u got the solution? Also I want to know
How to add page numbers to the generated PDF, if it has multiple paes.
Also when I am using Tab navigator, which is based on ViewStack and my creation policy is auto. When I am not selecting the other tabs, they are not created and so how can I generate their data in PDF?
Pleae let me know if you knoe anything about these. I am using ALivePDF 0.1.5
no, but i did manage to work around it by enclosing problematic FileStream code snippets in try/catch statements. Now I can create multiple pdfs all day.
I was also using AlivePDF