Posted By

mdavidwalker on 07/13/10


Tagged

link pdf as3


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

luismessias
donaldleegraham
tspitzr


PDF download link AS3


 / Published in: ActionScript 3
 

Link to pdf or normal link as3

  1. resume_btn.addEventListener(MouseEvent.CLICK, linkToResume, false, 0, true);
  2.  
  3. function linkToResume(evt:MouseEvent):void {
  4. navigateToURL(new URLRequest("http://www.mysite.com/resume.pdf"));
  5. }

Report this snippet  

You need to login to post a comment.