beautypg.com

Event types, Action types, Edit or delete button actions – Adobe InDesign CS4 User Manual

Page 556

background image

548

USING INDESIGN CS4

Dynamic documents

Event types

Events determine how actions are activated in buttons when the document is exported to Adobe PDF. (In Acrobat,
events are called triggers.)

On Release

When the mouse button is released after a click. This is the most commonly used event, because it gives

the user one last chance to drag the cursor off the button and not activate the action.

On Click

When the mouse button is clicked (without being released). Unless you have a specific reason for using On

Click, it’s preferable to use On Release so that users have a chance to cancel the action.

On Roll Over

When the mouse pointer enters the button area defined by the button’s bounding box.

On Roll Off

When the mouse pointer exits the button area.

On Focus

When the button receives focus, either through a mouse action or pressing the Tab key.

On Blur

When the focus moves to a different button or form field.

Action types

When you create an action, you indicate what happens when the specified event occurs—usually when someone clicks
the button. You can assign the following actions to occur when the event type is activated:

Close (PDF)

Closes the PDF document.

Exit (PDF)

Exits the application, such as Adobe Reader, in which the PDF document is open.

Go To Anchor

Jumps to the specified text anchor. See “

Create jumps to text anchors

” on page 549.

Go To First/Last/Next/Previous Page

Jumps to the first, last, previous, or next page in the PDF or SWF file. Select an

option from the Zoom menu to determine how the page is displayed.

Go To Previous View (PDF)

Jumps to the most recently viewed page in the PDF document, or returns to the last used

zoom size.

Go To Next View (PDF)

Jumps to a page after going to the previous view. In the same way that a Forward button is

available in a web browser only after someone clicks the Back button, this option is available only if the user has jumped
to a previous view.

Go To Page (SWF Only)

Jumps to the page in the SWF file you specify.

Go To URL

Opens the web page of the specified URL.

Movie (PDF)

Lets you play, pause, stop, or resume the selected movie. Only movies that have been added to the

document appear in the Movie menu.

Open File (PDF)

Launches and opens the file that you specify. If you specify a file that is not PDF, the reader needs the

native application to open it successfully. Specify an absolute pathname (such as C:\docs\sample.pdf).

Show/Hide Buttons

Toggles between showing and hiding specified buttons in the exported PDF or SWF file. (Buttons

are also referred to as fields in Acrobat.)

Sound (PDF)

Lets you play, pause, stop, or resume the selected sound clip. Only sound clips that have been added to

the document appear in the Sound menu.

View Zoom (PDF)

Displays the page according to the zoom option you specify. You can change the page zoom level

(such as Actual Size), the page layout (such as Continuous - Facing), or the rotation orientation.

Edit or delete button actions

1 Use the Selection tool

to select the button.

Updated 18 June 2009