3 Replies Latest reply on Jul 11, 2012 2:44 PM by Ned Murphy

    How can I open pdf in new browser?

    wbmalibago

      Hi, ive been using AS 2.0 here..here's my code in the button

       

      on(release){

           getURL("sample.pdf","_blank");

      }

       

      its supposed to open the pdf file in a new browser (which it really does)..but it opens it with http://sample.pdf/

       

      of course,the pdf won't open..how can i solve it? i have done uploading the pdf online and put the link in the code but i would be grateful if i can use that code..

       

      thank you