PDF download link AS3


/ Published in: ActionScript 3
Save to your folder(s)

Link to pdf or normal link as3


Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.