FORUMS: list search recent posts

Help with PDF button

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Matt Abron
Help with PDF button
on May 9, 2008 at 8:17:54 pm

I have a PDF folder parked in main C Directory for testing...have this code living in same sublayer as button in dedicated PDF Actions Layer...but I cannot seem to get this to work...

var pdfURL:String = "C:PDFsoverview.pdf";
var documentURL:URLRequest = new URLRequest(pdfURL);

function getPDF(evt:MouseEvent):void
navigateToURL(documentURL, "_blank");

overview_pdf.addEventListener(MouseEvent.CLICK, getPDF);

Help would be great,


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved