Home > Articles

  • Print
  • + Share This
This chapter is from the book

This chapter is from the book

Working with Events and Actions

An event determines when to trigger an action that will execute a button operation. For example, the On Release event triggers an action when the mouse button is released after a button click. An action is associated with an event. You can assign an action type to a button to perform an action. For example, the Go To URL action type opens a web page in your default browser from the PDF document with the interactive button. You can create actions to navigate to anchor text or bookmarks, document pages and views, to launch a movie, play a sound, or open a web page. You can work with events and actions for a selected button in the Buttons panel.

Select Events for a Button

  • blue1-circle.jpg Select the Selection tool on the tools panel, and then select a button to change.
  • blue2-circle.jpg Select the Buttons panel.
    • Click the Window menu, point to Interactive, and then click Buttons.
  • blue3-circle.jpg Click the Event list arrow, and then select an event type.
    • On Release. Event occurs when the mouse button is released after a click.

    • On Click. Event occurs when the mouse button is clicked.

    • On Roll Over. Event occurs when the mouse pointer enters the button.

    • On Roll Off. Event occurs when the mouse pointer moves off the button.

    • On Focus (PDF). Event occurs when the button gets the focus using the Tab key.

    • On Blur (PDF). Event occurs when the focus moves to another button or form field using the Tab key or mouse click.

Add or Edit Actions for a Button

  • blue1-circle.jpg Select the Selection tool on the tools panel, and then select a button to change.
  • blue2-circle.jpg Select the Buttons panel.
    • Click the Window menu, point to Interactive, and then click Buttons.
  • blue3-circle.jpg Click the Event list arrow, and then select an event type.
  • blue4-circle.jpg Click the Add New Action button, and then select an action to perform for the button.
  • blue5-circle.jpg Specify the various options for the selected action type (options vary).
  • blue6-circle.jpg To enable or disable an action, select or deselect the check box next to the action name.
  • blue7-circle.jpg To delete an action, select the action, click the Delete Selected Action button, and then click OK.
  • blue8-circle.jpg To change an action order, drag an action to a new position.
  • + Share This
  • 🔖 Save To Your Account