beautypg.com

Event types, Action types – Adobe InDesign CS5 User Manual

Page 567

background image

561

USING INDESIGN

Interactive documents

Last updated 11/16/2011

Event types

Events determine how actions are activated in buttons when the document is exported to Adobe PDF or SWF. (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 in a PDF file 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 in the PDF file.

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:

Go To Destination

Jumps to the specified text anchor created using the Bookmarks or Hyperlinks panel. See

Create

jumps to text anchors

” on page 562.

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 URL

Opens the web page of the specified URL.

Show/Hide Buttons

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

example, if you want one button to appear when another button is moused over, you can hide the target button until
it’s triggered and create an action that displays the hidden button on rollover. See

Display a different button on

rollover

” on page 565.

Video

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

appear in the Video menu.

Sound

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.

Animation (SWF)

Lets you play, pause, stop, or resume to selected animation. Only animations that have been added

to the document appear in the Animation menu.

Go To Page (SWF)

Jumps to the page in the SWF file you specify.

Go To State (SWF)

Jumps to a specific state in a multi-state object. For example, if a multi-state object includes several

different images as states, you can use this action to display a particular image.

Go To Next/Previous State (SWF)

Jumps to the next or previous state in a multi-state object. These options are

especially useful for clicking through a slideshow. See

Create multi-state objects

” on page 564.

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 Previous View (PDF)

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

zoom size.