- Web templates
- E-commerce Templates
- CMS & Blog Templates
- Facebook Templates
- Website Builders
How do I link a button to an Adobe PDF document
November 15, 2010
Q: How do I link a button to an Adobe PDF document?
A: In Flash MX as well as flash MX 2004 and Flash 8, a hyperlink is created through the getURL() command. The getURL() command provides a means for the browser to jump from one page to the other. The getURL() command can also be used to open an executable application like a PDF document. Click “Window” and choose “Actions” or press “F9” on your keyboard to access the Actions panel. You should type the following action script provided below into the white space to open up an executable PDF file:
on (release)
{
getURL(“http://www.yoursitename.com/mydoc/doc1.pdf”);
}
Now test your movie by pressing “CTRL+ENTER”.