Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
One of the first things that's important to learn when you start working with buttons is that some button actions only work with certain kinds of output. In this movie we'll look at actions that only work with PDF output. Let's start by taking a look in the Buttons and Forms panel in the Actions menu. You have to select an object in your document in order to see this menu. We'll go to Buttons and Forms and click on the plus sign to see the actions. And I can see that this menu is divided into three parts. At the top are actions that will work in any output. So I have Go To Destination, First Page, Last Page, Next and Previous, Go To URL, Show/Hide Buttons and Forms, and I can also play media, like sound and video.
In the second section, I have Liquid HTML5 and SWF Only, and here I have things like Animation, Go To a Specific Page, or Go To States in Multistate Objects. And then in the third section, which is PDF Only, I have a lot of actions related to forms. So I can clear a form, I can print a form, submit a form, and I can also go to next and previous views, open a file or change the zoom Level. It's worth noting that the Print Form action doesn't require you to have a form in your PDF; it can be used to print any PDF file.
Let's build some PDF-only buttons. In my Pages panel I'll go to my master page and zoom in down at the bottom where I have these two objects: Print and Enter/Exit Full Screen. And I've gone ahead and made these into buttons. I'll select Print first, open the Buttons and Forms panel, and I can see I've given this the name Print. I want to set an event, so On Release or Tap, and the Action will be Print Form. Also notice that this button has a Normal and a Rollover state.
If I select the Normal State and double-click to select the frame, I can open my Effects panel by choosing Window > Effects and then double-click at the Fill level. And I can see that it's got a Bevel and Emboss with a Direction of Up. I'll cancel out, select the Rollover State, double-click to select the frame, select Fill in the Effects panel and see that the Direction of the Bevel has changed to Down here. So that's how this rollover effect was created.
I'll cancel out and close the Effects panel and go back to the Normal state. Now I'll select my other button: Enter/Exit Full Screen. This button has a Name of "full" and for the Event, On Release or Tap. I'll choose the action View Zoom, Zoom to Full Screen, and that's it. Since this is the master page on which all my document pages are based, these buttons will always be visible for the person viewing the PDF. So let's test them out. We'll export this document to an interactive PDF. I'll press Command+E or Ctrl+E, choose Format Adobe PDF Interactive, we'll just call it button test, and export it to the Desktop.
I'll choose View After Exporting and click OK. Then when the document opens in Acrobat, it tries open in Full Screen mode. So I'll say OK, and I'll test out my buttons. I'll click Print and it brings up the Print dialog box. I can also use this button to exit the Full Screen mode or enter it again. When you know you're going to be exporting your interactive document to PDF, you can take advantage of the PDF Only buttons to do things like print and change the view of the document to full screen.
Get unlimited access to all courses for just $25/month.Become a member
119 Video lessons · 47297 Viewers
117 Video lessons · 34249 Viewers
113 Video lessons · 80252 Viewers
116 Video lessons · 70176 Viewers