Hello everyone welcome back I'm your host Elias sarantopoulos.
With Adobe InDesign CC and with the use of Object States, buttons, actions and time control
you can better engage your readers, enhance your interactivity and output to a Fixed Layout EPUB.
So in this InDesign CC tutorial you will learn how to create and animate an image gallery
inside your EPUB to make your workflow more efficient, fun and elevate user experience.
All that with Adobe InDesign CC.
So the first step inside Adobe InDesign CC is to convert each of these thumbnail images
into buttons and so I'm going to target this first thumbnail then click on the Buttons
and Forms panel here and at the very bottom you can click where it says Convert to Button.
Now this is converted to button but it gives us this generic name so I'm just going to
rename this accordingly - let's say TIMG1 then I'm going to target the second thumbnail
photo, again I'm going to convert this into a button and give this appropriate name.
Definitely that will help you along the way so you have reference to exactly what you're doing. OK.
So we are continuing converting this into buttons so these thumbnail images will actually
reveal the larger Polaroids frames, OK.
So we got those 5 thumbnail images converted into buttons and now we're going to create
as a second step the 5 Object States for each Polaroid photo so for that I'm going to target
Photo 1 through Photo 5 just make sure that you hold down the SHIFT key to select only
those photos here and then we're going to click on the Object States panel, I am going
to bring this up here and then at the very bottom I'm going to click on the button that
says Convert Selection to Multi-State object, so click on that, it's going to give us this
generic name which I'm going to rename to Polaroid Photo MSO and by the way MSO stands
for Multi-State object and right now the first object state is Photo 5 which actually should
be the reversed way.
So basically Photo 1 should be the first object state so all I have to do is just bring this
up here, rearrange those Object States like so.
So we got the Photo 1, Photo 2, Photo 3 and we also have the thumbnail images converted
into buttons and on the next step we are ready to actually create the Actions on the buttons.
Now before I continue let me go ahead first and save our document so go up to the File
menu, and going to Save this As and that would be just Image-Gallery, click to save. there we go.
And so let's see we have the first thumbnail image which is this one OK, this is the first
button, this button here will actually go to State, well which State, state one is the Photo 1 this is correct.
Then target the second thumbnail image , the action will go to state, Polaroid Photo MSO and Photo 2, OK.
Thumbnail 3, the action will go to State Photo 3 and you get the idea here.
Action will go to state, Photo 4 and lastly this thumbnail on the action will go to State Photo 5.
OK, so let's go ahead and test that using the EPUB Interactivity Preview here so under
the Set Preview Spread Mode click to Play the Preview it's going to build the HTML here,
I'm going to click you see and everything works the way it's supposed to work, like so.
Now let's go ahead and add an animation to each of these Polaroid photos as well as this
corresponding text so I'm going to target, let's see the MSO here, this is the photo 1
and under the first Object state I'm going to target the Polaroid photo, there you go.
So for that I'm going to click on this Animation panel and as a preset click on this drop-down
menu and let's say I'm going to choose Fly In from the Top.
Here we get a preview of this Animation and flies in from the Top, OK.
Now here we have this animation path you also have the ability to actually change that path,
make it shorter, longer, or what have you so for that you can use the Direct Selection
tool, you can click on that, this is the beginning, this is the end so I'm just going to bring
the stuff down just a bit, like so.
Now we have a we're going to have a shorter animation than the original preset, OK.
And now let's go ahead and target the text itself and for the tech actually I'm going to have only Fade in.
OK and I'm going to do the same thing for each of these Objects States.
First I'm going to target the the Polaroid photo this one let's say Fly In from the Left
and for the text just Fade In and target the third State here and then target the Polaroid
frame itself, let's say Fly In from Right and for the text again I'm going to choose
just Fade In.
Target the fourth Object State and on the Polaroid let's say I'm going to Fade In actually
on that as well and for the text Fade In as well.
And lastly for the last one, let's see I'm going to use a preset Fly from In from the
Bottom and then for the text I will continue using the same Fade In.
So let's go ahead and preview this inside the EPUB Interactivity Preview, press on the
Play Preview here, it's going to build the HTML here's the Animation, this also comes,
animates there we go and the last one Flies In from the Bottom.
Now looking at the EPUB Interactivity Preview I want to point out one important detail.
So if I press again to build the preview here notice that the initial Object State, this
state here the first Object State, the animation does not play and the reason is that the animation
is set to play only on State Load and the state isn't loading the first time around
unless we tap on the initial frame again, like so.
So the fix here it actually is very simple, all you have to do is just duplicate the first
Object State, which is this one and just to remove any kind of animation.
So let's go ahead and click and drag this to the New Object State button, I am going
to bring this bring this up here and rename this let's say, Begin State or whatever you want to call it.
OK, so let's drill in to the frame so under the Animation panel, no animation the same
thing for the text, no text is going to Fade In as well.
So let's go ahead and do another preview here there you go now this time around we have
the initial state that loads in.
Now this works, this initial object state appears and it will never appear again because
none of these thumbnail images as buttons point to that state so this way users will
only navigate between the rest of the other states, the rest of these five states, like so.
So the last thing I want to talk about is the timing of objects inside each Object State
and by that I mean our each of the Polaroid photos to appear first and the corresponding
text to appear after using a time delay.
So for that we can use the timing panel to change the order of when animated objects play.
OK so first we need to be on the right Object State so let's see let's go ahead and target
the MSO (Multi State Object) and just make sure that you're not on the Beginning state
but you are on the first state which in this case is the Photo 1 and here is the text.
So for the text you can also target it from here if you wish.
I want to delay of half a second (0.5 sec), like so and I'm going to go on the second
state click on the text at half a second delay.
Continue this on the rest of the states like so okay so I have five I mean half a second
for all five Object States for the corresponding text.
So let's go ahead and preview this here and let's go ahead and first the preview and
it's going to build the HTML, there we go here's the animation, half a second delay
so first the user looks at the main photo of the Polaroid frame and then the attention
is shifted to the corresponding text on the right column.
Now inside the iPad let's go ahead and test the interactivity of the EPUB.
The begin state loads first with no animation touch to it and then whatever we tap on our
image gallery appears with its Polaroid photo appearing first followed by the corresponding
text with half a second delay.
Thank you for spending time with me, let me know if you have any questions below the comments
section, don't forget to SUBSCRIBE to my channel and share the knowledge.
Elias Sarantopoulos.