Posted By

bradvanspriellgmailcom on 11/04/10


Tagged

pdf


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

sexyflash


Link to launch pdf file in browser


 / Published in: ActionScript 3
 

  1. button.addEventListener(MouseEvent.CLICK, launchPDF);
  2.  
  3. function launchPDF(e:MouseEvent):void
  4. {
  5. navigateToURL(new URLRequest("yourpdf.pdf"));
  6. }

Report this snippet  

You need to login to post a comment.