beautypg.com

Add a button from the sample buttons panel, Convert a button to an object, Make buttons interactive – Adobe InDesign CS5 User Manual

Page 565: File, an action is performed. see

background image

559

USING INDESIGN

Interactive documents

Last updated 11/16/2011

4 In the Buttons panel, do any of the following:

In the Name text box, specify a name for the button to distinguish it from other buttons you create.

Specify one or more actions for the button to determine what happens when the button is clicked in the exported
PDF or SWF file. See

Make buttons interactive

” on page 559.

Activate additional appearance states and change their appearance to determine what the button looks like when
you use the mouse to roll over the button or click it in the exported PDF or SWF file. See

Change button

appearance for rollover and clicking

” on page 562.

5 Use the Preview panel (Window > Interactive > Preview) to test the button before you export the document to

interactive PDF or SWF.

Add a button from the Sample Buttons panel

The Sample Buttons panel includes a number of pre-created buttons that you can drag into your document. These
sample buttons include effects such as gradient feathers and drop shadows, with a slightly different appearance for the
Rollover appearance. The sample buttons are also assigned actions. For example, the sample arrow buttons are preset
with Go To Next Page or Go To Previous Page actions. You can edit these buttons to suit your needs.

The Sample Buttons panel is an object library. As with any object library, you can add buttons to the panel and remove
ones you don’t want to use. (See “

Use object libraries

” on page 397.) The sample buttons are stored in the

ButtonLibrary.indl file, which is located in the Presets/Button Library folder in the InDesign application folder.

1 Choose Sample Buttons from the Buttons panel menu to open the Sample Buttons panel.

2 Drag a button from the Sample Buttons panel to the document. If you want navigation buttons to appear on every

page, add the buttons to a master page.

3 Select the button using the Selection tool, and then edit the button as necessary using the Buttons panel.

While editing the sample buttons, keep the following in mind:

If you add text to a button, remember to copy and paste the text from the Normal button state to the Rollover button
state. Otherwise, the text you add does not appear when the mouse rolls over the button in the PDF or SWF file.

You can resize buttons. If you drag a pair of Next Page/Previous Page arrow buttons, resize the first button, and
then select the second button, and choose Object > Transform Again > Transform Again.

Use the Preview panel to test the button.

Convert a button to an object

When you convert a button to an object, the contents of the button remain on the page without the button properties.
Any content associated with the button’s other states are also removed.

1 Use the Selection tool

to select the button.

2 Choose Object > Interactive > Convert To Object.

Make buttons interactive

You can create, edit, and manage interactive effects in InDesign. When the document is exported to Adobe PDF or
SWF, these interactive actions can be active.

For example, suppose you want to create a button that causes a sound to play in a PDF document. You can place the
sound file in an InDesign document, and then create a button that causes the sound to play when you click the button
in the PDF document.