{"id":1848,"date":"2010-11-15T10:24:59","date_gmt":"2010-11-15T10:24:59","guid":{"rendered":"http:\/\/mts-help.nick.php.dev\/after_sale_support\/Working_with_Flash\/Advanced\/article9.html"},"modified":"2011-03-23T03:52:33","modified_gmt":"2011-03-23T07:52:33","slug":"how-link-button-adobe-pdf-document","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/how-link-button-adobe-pdf-document.html","title":{"rendered":"How do I link a button to an Adobe PDF document"},"content":{"rendered":"<span class=\"question\">Q:<\/span> <span class=\"question_text\">How do I link a button to an Adobe PDF document?<\/span>\r\n\r\n<span class=\"answer\">A:<\/span> 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 <span style=\"font-weight: bold;\">&#8220;Window&#8221;<\/span> and choose <span style=\"font-weight: bold;\">\u201cActions\u201d<\/span> or press <span style=\"font-weight: bold;\">&#8220;F9&#8221;<\/span> 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: <span class=\"answer_text\"> <\/span>\r\n<div class=\"example_code\">on (release)\r\n{\r\ngetURL(&#8220;http:\/\/www.yoursitename.com\/mydoc\/doc1.pdf&#8221;);\r\n}\r\n\r\n<\/div>\r\nNow test your movie by pressing <span style=\"font-weight: bold;\">&#8220;CTRL+ENTER&#8221;<\/span>.","protected":false},"excerpt":{"rendered":"<p>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 [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[355,279],"tags":[486,511],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/1848"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=1848"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/1848\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=1848"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=1848"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=1848"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}