Creating Automatic Events with Actions


Another type of automation that Acrobat supports is an event (known as an action) that automatically occurs when it is triggered by some other event (known as the trigger). For instance, you could have a sound or movie play whenever a specific page is opened. There are literally an unlimited number of events or actions that can be defined. Once you make your first action, you will have all sorts of ideas about how to use them.

As an example, let s make a sound play every time someone opens a specific document page:

  1. Click the Pages tab to activate the thumbnail views of your document.

  2. Click the thumbnail of the page to which you would like to add an action.

  3. Choose Options > Page Properties (or Control+click/right-click and choose Page Properties).

  4. Click the Actions tab (Figure 14.10), where you define the combination of trigger and action. In this case, do the following:

    1. Click the Select Trigger menu and choose Page Open .

    2. Click the Select Action menu and choose Play A Sound.

    3. Click the Add button. Navigate to where the sound file that you would like to be activated as part of this action is located. Highlight this sound file and click Select.

      click to expand
      Figure 14.10: The Page Properties dialog

      When you are returned to the Page Properties dialog, you will see that your newly selected sound file is added to the Actions list (Figure 14.11).

      click to expand
      Figure 14.11: The action has been added.

      Note  

      Acrobat supports two kinds of sound files for actions:uncompressed .aif and .wav sound files. If you have a sound file that is not in either of these formats,open the file in any sound or movie editing application, such as QuickTime Pro, and export it in either AIF or WAV format. You will also find that Acrobat likes to have any sound (or media) file that you use as an action to already be linked to the PDF document as a linked resource (with the Link, Movie, or Sound tool). I ve included a sample uncompressed sound file, FireIceSong.wav , in the Chapter 14 folder on the CD for you to experiment with.

  5. Click Close to complete the creation of the action. The next time that page is opened, the sound file will automatically play.

start sidebar
Variety of Automatic Actions

You can use the same process we used to create the page-open sound action here to create a wide variety of actions (as the complete Actions list in Figure 14.10 shows). Actions can be accessed with wide range of triggers, including mouse up and mouse down, thumbnails, bookmarks, articles, comments, and even form fields. You can also use actions to access Java Scripts. Once you get the hang of creating actions, you will use them for all sorts of cool links. Adding sounds and movies with actions is a snap and is a great way to spice up a PDF presentation.

end sidebar
 



Acrobat 6 and PDF Solutions
Acrobat 6 and PDF Solutions
ISBN: 0782142737
EAN: 2147483647
Year: 2004
Pages: 102

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net