tencrocs / alivepdf

Automatically exported from code.google.com/p/alivepdf
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 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