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
have done this
on(release){
getURL("C:\Users\hesteban\Desktop\Warjie\download_swf\sample.pdf","_b lank");
}
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..
North America
Europe, Middle East and Africa
Asia Pacific