Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now

Exploring the Animation Encyclopedia script


InDesign CS6: Interactive Documents

with Mike Rankin

Video: Exploring the Animation Encyclopedia script

When you're trying to learn InDesign's animation tools, a great resource is the Animation Encyclopedia script that comes with InDesign. When you run the script, it creates examples of many different kinds of animation effects that you can learn and be inspired from. So let's check it out. To run the Animation Encyclopedia script, we need to open the Script panel by going to Window > Utilities > Scripts. Then inside the panel open the Application folder, and the Samples folder, and that will open JavaScript and choose AnimationEncyclopedia.jsx.
Expand all | Collapse all
  1. 1m 45s
    1. Welcome
      1m 2s
    2. Using the exercise files and scripts
  2. 22m 41s
    1. Case study: tomaxxi's InDesign shortcuts guide
      4m 19s
    2. Case study: The Magic of Reality app
      3m 20s
    3. Exploring PDF digital magazines: InDesign Magazine
      2m 45s
    4. Looking at digital newspapers:
      3m 44s
    5. Reviewing digital magazines: National Geographic
      4m 58s
    6. Exploring
      3m 35s
  3. 21m 56s
    1. Setting preferences for interactive documents
      6m 32s
    2. Customizing the workspace
      5m 48s
    3. Understanding intent and presets
      3m 5s
    4. Working with images and swatches
      5m 2s
    5. Installing scripts
      1m 29s
  4. 37m 24s
    1. Using Liquid Layout
      9m 17s
    2. Creating alternate layouts
      4m 4s
    3. Using primary text frames
      3m 49s
    4. Using the Content Conveyor
      5m 42s
    5. Linking text
      4m 32s
    6. Linking page items
      3m 19s
    7. Fitting frames to content
      3m 33s
    8. Using style mapping
      3m 8s
  5. 49m 49s
    1. Reviewing what we're going to build
      1m 56s
    2. Previewing with the SWF Preview panel
      4m 51s
    3. Presentation design tips
      2m 41s
    4. Setting up a presentation file with layers
      4m 54s
    5. Creating a navigation system
      8m 32s
    6. Creating a title and content slides
      7m 57s
    7. Overriding master page items
      5m 59s
    8. Setting page transitions
      4m 34s
    9. Creating hyperlinks
      3m 40s
    10. Using the slug for notes
      4m 45s
  6. 37m 40s
    1. Understanding what we're going to build
      1m 11s
    2. Building an interactive table of contents
      5m 9s
    3. Building a navigation system
      4m 5s
    4. Creating PDF-only buttons
      3m 33s
    5. Using a SWF slideshow in a PDF
      9m 33s
    6. Placing a video and using the Media panel
      5m 44s
    7. Setting navigation points
      4m 28s
    8. Placing a video from a URL
      1m 21s
    9. Creating hyperlinks from URLs
      2m 36s
  7. 18m 7s
    1. An overview of PDF forms
      2m 6s
    2. Creating text fields and signature fields
      3m 13s
    3. Creating list boxes and combo boxes
      3m 56s
    4. Creating checkboxes and radio buttons
      3m 47s
    5. Creating tab order for PDF forms
      3m 14s
    6. Creating Submit, Print, and Clear Form actions
      1m 51s
  8. 53m 36s
    1. Exploring the Animation Encyclopedia script
      10m 57s
    2. Using the Animation panel
      6m 56s
    3. Animating on a motion path
      3m 57s
    4. Animating a list
      4m 29s
    5. Creating navigation buttons
      5m 15s
    6. Creating a multi-state object
      6m 23s
    7. Creating a page number indicator
      2m 57s
    8. Animating an opening page
      3m 9s
    9. Creating a multi-purpose button
      3m 11s
    10. Exporting your presentation and embedded fonts to SWF
      3m 46s
    11. Working with transitions and animation
      2m 36s
  9. 40m 34s
    1. An overview of the DPS workflow and the publishing process
      4m 31s
    2. Creating hyperlinks
      5m 17s
    3. Creating slideshows
      3m 25s
    4. Using the Image Sequence feature
      4m 58s
    5. Adding audio and video
      5m 6s
    6. Creating panoramas
      4m 21s
    7. Adding web content
      3m 56s
    8. Panning and zooming
      4m 1s
    9. Creating scrollable frames
      4m 59s
  10. 27m 19s
    1. Using the Folio Builder panel
      5m 28s
    2. Creating a folio
      5m 28s
    3. Adding articles to a folio
      5m 47s
    4. Using the Content Viewer to preview a folio
      3m 53s
    5. Using the Folio Producer
      4m 55s
    6. Viewing a folio on an iPad
      1m 48s
  11. 49s
    1. Next steps

please wait ...
Watch the Online Video Course InDesign CS6: Interactive Documents
5h 11m Intermediate Jun 11, 2012

Viewers: in countries Watching now:

Join Adobe InDesign and publishing expert Mike Rankin as he explains how to use InDesign to design a wide range of digital documents, including interactive PDFs and apps for the iPad. This course provides a tour of digital publishing trends and shows how to bring these trends to bear in various projects, such as a slide presentation, a PDF form, and an interactive portfolio. Mike also introduces the Adobe Digital Publishing Suite and shows how to publish dynamic interactive documents to the iPad and other mobile devices.

Topics include:
  • Examining trends in digital design
  • Setting preferences for interactive documents
  • Understanding intent and presets
  • Working with images and swatches
  • Creating and working with interactive PDFs
  • Creating alternate layouts for multiple screens
  • Linking text and page items
  • Fitting frames to content
  • Setting up a file with layers
  • Creating a slideshow with transitions and hyperlinks
  • Building a table of contents
  • Adding a SWF slideshow to a PDF
  • Placing video
  • Creating PDF forms
  • Adding animation
  • Working with the Digital Publishing Suite
InDesign Digital Publishing Suite
Mike Rankin

Exploring the Animation Encyclopedia script

When you're trying to learn InDesign's animation tools, a great resource is the Animation Encyclopedia script that comes with InDesign. When you run the script, it creates examples of many different kinds of animation effects that you can learn and be inspired from. So let's check it out. To run the Animation Encyclopedia script, we need to open the Script panel by going to Window > Utilities > Scripts. Then inside the panel open the Application folder, and the Samples folder, and that will open JavaScript and choose AnimationEncyclopedia.jsx.

We will double-click it to run the script. And I will close the panel. When the script is done, it's created a new document, added several pages to it, and placed many different animated objects on the pages along with labels that identify each one. I will go to the first page of document which is called Animation Properties. It's set up to show me examples of each of the seven properties. Now I want to see what these animations can do. So I will open my SWF Preview panel, nice and large.

And click the Play button. Then I can click anywhere on the page in the Preview panel to play these animations one by one. I am going to hold down Option or Alt and click on the Play button again to replay the Preview and let's see those again. Motion path allows me to move an object on the page. Rotation allows me to spin or turn an object. With Opacity, I can fade in object in or out. With Scale, I can make an object grow or shrink in size. Combination combines the effects of all four, so I am moving, rotating, scaling and fading an object all at once.

Color Fade transitions from one fill color to another, and Motion Path with Curve shows that we don't have to move objects along straight lines if we don't want to. Let's close the SWF Preview panel and see how these examples were made. I will click on the Motion Path example and I can see this long green line here; this is the motion path indicating where the rectangle will move. It has an arrowhead at the end and little dots all along it to indicate how long it will take the object to move along each portion of the path. So the motion path is showing me the distance, direction and time.

At the bottom of the page, I have Motion Path with Curve which is the exact same as the top one except this motion path was edited to be a curved path instead of a straight one, and we'll get into working with motion paths later on in more detail. If I select Rotation, I can see that it has the same motion path as the first example. So where's the rotation coming from? If I open the Animation panel and click on Properties, I can see down here Rotation 270 degrees. So this rectangle has been set to rotate 270 degrees, in addition to the movement along the path.

I'll click on Opacity. Opacity combines the movement along the motion path with a custom change in opacity to fade out the object which I can see down here. I will select Scale and I can see that this object is going to scale down in size to 20% width and height. I will select Combination and Combination is doing a lot of things. It's got a motion path, its rotating -270 degrees, it's scaling differently in width and in height, and is changing its Opacity.

I will select Color Fade and this is my favorite here because this is a good example of the kind of creative thinking you can employ with animations. There's nothing inside InDesign's animation tools that would let you do this kind of fade or dissolve from one color fill to another. But the person who created this file figured out that if they used two objects stacked one on top of the other they could change the opacity of each to make the color change over time. So if I move this rectangle a little bit, I can see that there are actually two objects here, a purple one and a blue one.

During this animation, the blue rectangle fades in and the purple rectangle fades out so we get a mix of their colors. Let's go to page 2 which gives us some examples of animation events. An event is something that triggers the animation to play. So without events there would be no animations. They would be present in the file but they'd never play. The first event is on page load. So as soon as the page is loaded into the window the animation will start. If I look at this page in the SWF Preview panel by pressing Command+Shift+Return or Ctrl+Shift+Enter, I can see that that animation started immediately.

The next event is On Page Click. So this one didn't play immediately when I loaded the page into the SWF Preview panel. I have to click to play it, and I can click anywhere on the page. The next is On Click (Self). Here I need to actually click on the object itself, not just anywhere on the page and each time I click the object the animation will play again. The next is On Roll Over (Self). Here I don't need to click, just move my cursor over the object. If I move my cursor away and then back again, the animation will replay.

With On Button Event I trigger the animation by clicking another object that's been converted to a button. Each time I click the green rectangle which has been converted to a button, the animation will play. And the final one, On State Load of Multi-State Object is a little more involved. In this case, each time I click on the button I go to a different state of a Multi-State Object and the shape of the purple object changes as it rotates. If I close the SWF Preview panel and select the purple rectangle and go my Object States panel, I can see that this is Simple MSO multi-state object, and it has three states; one where it's a rectangle, one where it's an oval and one where it's a triangle.

And if I select the green button and go to my Buttons and Forms panel, I can see that the Event On Click is to go to the next state of Simple MSO. Now you might be wondering where these events were set for some of these objects? The answer is in the Animation panel. If I select the first one On Page Load, and go to the Animation panel, I can see right here Event: On Page Load. I can set the event from this popup menu by clicking on the Event name. So I can choose On Page Load, On Page Click, On Click (Self) or On Roll Over (Self), or On Button Event.

Note that I don't have to click on this tiny triangle over on the right. I can just click on the name of the event. Also did you notice this tiny S here? It's not Event; it's Event(s), meaning that you can have more than one event that will trigger in animation and when you do this any of them will cause the animation to play. This is important to remember since, it makes it easy to accidentally apply more than one event when you just wanted to change from one event to another. For example, if I wanted to change this one from On Page Load, to On Page Click, you might think I will just select On Page Click.

But now look, there are two events that will trigger this animation. Both On Page Load and On Page Click. So to take On Page Load Off, I need to select it again from the menu. Now the only event for this animation is On Page Click. Let's go to the next page and continue exploring. This page is called Additional Animation Properties and Settings, and these samples will show us the effect of setting properties like to Duration and Speed which in animation really means the change in speed. The Play value which is the number of times the animation will play when it's triggered, and in the second column, we have things like Hide Until Animated, Hide After Animating and changes in the Origin.

So let's preview this page and look at how each of these properties affects an animation. Here I have a slow duration, a fast duration, changes in speed, changes in the number of times an animation plays. I have an animation that was hidden until it started, an animation that disappears after it's done, and changes in the origin point, and go to the next page in the document.

I will close the SWF Preview panel. I will open up the Animation panel again and select one of these. Now these examples show us the differences in the Animate menu. So there is three choices here, From Current Appearance, To Current Appearance and To Current Location. From Current Appearance means that this is the starting point and some change in the appearance will occur. To Current Appearance means that this is what the object will look like at the end of the animation and it will look like something else at the start.

To Current Location means the object will start out somewhere else and end up here. So let's preview this. The next page shows how we can use the Timing panel to control the order and timing of multiple animations. If I open the Timing panel, I can see that these animations have been linked into three groups: A, B and C. Linking animations is how you make them play together. You can also set delays on each animation to precisely control when it starts.

If I look in the A group, there are no delays set on here. The value is always 0, but in the B group there are delays. So B-1 will start one second after the A animation is finished. B-2 will start half a second after B-1 and B-3 will start one second after B-2. Also if I click to the left of any of the animation names, I can select the entire group. So in this case, I can see that the B group has been set to loop the animations. So they will play over and over, and the C animations will play twice with a quarter second delay between them.

Let's preview this page. And I will close the SWF Preview panel one more time and go to the next page. This last page shows something that's possible when you use a script to control InDesign's animation tools. So let's preview it. There is a lot going on here. Changes in position, rotation, shape and opacity are all applied to the same object. Unfortunately, this is beyond what you can do just inside InDesign. You or someone else would have to write a script to create this kind of animation. So in one way it's kind of a tease but its good that it's in here just you know that it's possible to do this kind of thing with the help of a script.

Overall there is a lot to grasp when you're first learning how to use InDesign's animation tools and the Animation Encyclopedia script can really help you understand the different options and how things work.

Find answers to the most frequently asked questions about InDesign CS6: Interactive Documents .

Expand all | Collapse all
please wait ...
Q: I'm following along with the movie "Using a SWF slideshow in a PDF," but when I go to the Tools menu in Acrobat, there is no Multimedia option. Can you help me complete the tutorial?
A: With each new version of Acrobat, Adobe seems to enjoy moving commands to different menus, and sometimes renaming them. To remove the background in Acrobat XI, take the Selection tool (black arrow) and right-click anywhere in the window and choose Properties. This opens the Edit SWF dialog box where you can select Transparent Background in the Launch Settings. You can do the same thing by choosing Tools > Interactive Objects > Select Object and then double clicking anywhere on the SWF.
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.

Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ .

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now Already a member? Log in

* Estimated file size

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.

Mark all as unwatched Cancel


You have completed InDesign CS6: Interactive Documents.

Return to your organization's learning portal to continue training, or close this page.


Upgrade to View Courses Offline


With our new Desktop App, Annual Premium Members can download courses for Internet-free viewing.

Upgrade Now

After upgrading, download Desktop App Here.

Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member ?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Learn more, save more. Upgrade today!

Get our Annual Premium Membership at our best savings yet.

Upgrade to our Annual Premium Membership today and get even more value from your subscription:

“In a way, I feel like you are rooting for me. Like you are really invested in my experience, and want me to get as much out of these courses as possible this is the best place to start on your journey to learning new material.”— Nadine H.

Start your FREE 10-day trial

Begin learning software, business, and creative skills—anytime,
anywhere—with video instruction from recognized industry experts. provides
Unlimited access to over 4,000 courses—more than 100,000 video tutorials
Expert-led instruction
On-the-go learning. Watch from your computer, tablet, or mobile device. Switch back and forth as you choose.
Start Your FREE Trial Now

A trusted source for knowledge.


We provide training to more than 4 million people, and our members tell us that helps them stay ahead of software updates, pick up brand-new skills, switch careers, land promotions, and explore new hobbies. What can we help you do?

Thanks for signing up.

We’ll send you a confirmation email shortly.

Sign up and receive emails about and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from

Sign up and receive emails about and our online training library:

Here’s our privacy policy with more details about how we handle your information.

submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.