AS3, AlivePDF and open generated PDF in browser

603 Views Asked by At

Is it possible to generate a PDF with alivePDF and open it in a browser without using PHP?

Now I am using filereference class to popup a save dialog and then save to PDF, but I need to open the generated PDF in a browser. Is this possible? Throw navigateToUrl or some other way?

1

There are 1 best solutions below

1
On

The decision whether the pdf is shown in browser or downloaded is taken by the client (browser) thus you don't have any chance to influence this behavior. The only thing you can do is force the client to download it - but not the other way around.