riadvice / AlivePDF

[Official AlivePDF] - AlivePDF is a client side AS3 PDF generation library for Adobe Flash, Flex and AIR
https://riadvice.github.io/AlivePDF/
32 stars 6 forks source link

how can i open Local drive pdf file through AS3? #363

Closed GoogleCodeExporter closed 7 years ago

GoogleCodeExporter commented 8 years ago
I am trying to open pdf file though as3. 

here is the code:

button_TU_B.addEventListener(MouseEvent.CLICK, fl_ClickToGoToWebPageTUB);
function fl_ClickToGoToWebPageTUB(event:MouseEvent):void
{
    navigateToURL(new URLRequest("file:///c:/files/Equity_Beginner.pdf"), "_blank");
}

it is always open in browser and not able to open directly in acrobat reader. 
also when i give the complete path so it is open. 

But i want to use this flash in cd. So i can not put in server. 

Please suggest..

Original issue reported on code.google.com by hittud...@gmail.com on 11 Mar 2013 at 7:25

GhaziTriki commented 7 years ago

The library is for generating PDF files, reading PDF files is out of scope.