Hi, ive been using AS 2.0 here..here's my code in the button
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..
Try using the full URL for the pdf instead of just the file name.
have done this
but nothing happened when i clicked it...
for a better option, do you know any site that offers free uploading of pdf in their site and has saving of pdf when viewed in the browser?
You need to be testing on a server using a browser.
To view a pdf in a browser you need a pdf reader such as Adobe Acrobat installed for the browser. Having that allows you to save the file when you are viewing it.
I don't know of anyone that provides free hosting services, although you might check with your ISP... some will offer you server space for personal use..