Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
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.
Get unlimited access to all courses for just $25/month.Become a member
119 Video lessons · 50093 Viewers
117 Video lessons · 37428 Viewers
113 Video lessons · 81223 Viewers
65 Video lessons · 10734 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
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.
Your file was successfully uploaded.