You can actually use this actionscript for any url (.html,.pdf,.jpg,etc.).
Just add this to your button:
on(release){
getURL("yourdocument.pdf", "_blank");
}
The quotes contain the URL you are wanted to hit. If your pdf is in the root
folder, leave the location as is. If it is elsewhere, for example, you would
need to put "http://www.thiswebsite.com/folder/anotherdocument.pdf" The
"_blank" is telling the event to load in a new (blank) window.
GAMBRKER
maxinak - 20 Sep 2007 05:01 GMT
hi,
what do you mean by root folder? is that the folder you have the fla or swf in? or is it on the hosting server? thanks!