Right so, let's do a couple things here, I think what I'm going to do is remove that target for that interactive element because that makes a big interactive region across there and it was really just for demonstration. I'll go back to the animation panel and I'm gonna, oh actually that one's fine On Page Load but what I need to do is actually go to my text and I'll remove that trigger. So I'm just gonna de check here On Button Event if I zoom in on that so just to be clear there, I did say that quite quickly. Where my name is I've just selected that and if you remember we targeted the shape underneath to turn it into a button. I'm just gonna come up to here and change the event, I'm gonna remove On Button Event here and I'll just get that On Page Load like so, okay, the On Button Event should disappear now, it's gonna resolutely refuse to do that. Well if that happens, here's how you fix it you click on the object and you go to the Buttons and Forms panel and then where it says Action...
s, that's the thing that makes this trigger happen there's a minus above it and if you click that it will ask you if you want to delete the selected action which I actually do. Okay, and that should then revert to just being a regular shape like so. So let's just have another quick test of that layer and that's something else you do a lot in interactive publishing. As you build, you'll find yourself continually testing just to make sure that you're not conflicting with other interactive elements. So we're gonna take a look like I said at the various animation properties, okay, that we can work with here in Publish Online. So let's open that into the Animation panel again and we'll take a look at putting another element on here. In fact what I think I'm going to do, I'm just gonna save the layout where it is so far and on the next spread I think if I go to the next page here and I've got other plans for that so I'm just gonna quickly create a new document here, let me just create a brand new document so I'm just gonna do Command + N here and I'll go for my 1280 by 800 from my recents just there. I'll just put a simple shape on the layout so just dad, dad, simple here just to avoid the confusion of the colorful layout that I decided to use for Publish Online. You don't have to use the whiteness of the page, right, that signifies paper, do something more exciting with the background. You need to bear in mind that people need to read it but you can do something more interesting with it if you want to. So I've just got a straight shape here, I'm just gonna show you another quick tip for you InDesign users. So the default shape here has a black stroke and no fill and if I click on it you can see here in the control strip at the top of the screen no fill, black stroke. All I'm gonna do is hold down the shift key on my keyboard and tap x and that just transposes that property or the attributes there, it just says that right okay so it did have a black stroke now it's got a black fill and it's got no stroke now whereas it had a black stroke a moment ago so it swapped out, really handy. And you want, you can have one more InDesign tip actually while I'm there, if you wanna change the fill or the stroke depending on which is highlighted. So let's just take a quick look at the toolbox here the fill is in front here and the stroke is in back just there if you tap x on your keyboard you can see how their priority swaps around. So for whichever one of those has focus, the one that's in front, you can change its' property by hitting three keys on your keyboard and those keys are the comma, period and slash key which should be down towards the bottom right hand side, also the less than, greater than and question mark symbol sometimes easier to refer to. Watch what happens with this, at the moment this has a solid fill so I'm gonna tap the period key on my keyboard and you see now it has a gradient fill, if I tap the slash key it has no fill at all and if I hit the comma key it has a solid fill and you can use that exact same shortcut in Illustrator as well so there's a bit of extra bonus stuff inserted there so remember comma, period, slash and that will do solid, gradient, none applied to either a fill, or a stroke in both applications. Right, back to the animation properties here of this particular shape, so I'm going to choose from the various different presets I've got here now some of these presets can actually be built in Animate CC and because if you build your own motion presets in Animate CC or you know someone who uses Animate CC and can build you motion presets then you can get a lot of those, they're shared library so you can bring them in to InDesign in fact they appear in InDesign automatically if they exist as a motion preset on your machine. Some of them use flash technology which of course is something you don't want and so where it says Swift only there these are the ones you can really ignore, these fly in and blur and smoke but everything else here pretty much is fair game. So if I just go to bounce here for example and I'll just choose a medium bounce, actually I was gonna choose bounce right here let's do that anyway. The InDesign butterfly again clearing up any ambiguity as to what that actually means but you can now see that you've got what looks like a fabulous squiggle at the side. I'm gonna zoom in on that so you can see it and then I'm gonna further screen zoom here just so you can see a little bit more clearly these small dots. And all of those dots, well I just need to click back on the shape, all of those dots actually indicate frames. So what you have to imagine here is that you're actually creating a tiny movie with that actual shape and it runs a certain number of frames per second. So each one of these is a frame and it's just determining where that object is at a given time, so you see it jumps up here right and then it's got all of these things that goes very, very quickly, very slowly down to here then very quickly over a lesser distance and then quicker still and then quicker still and stops so it goes do, dumph, dumph, dumph, dumph like that. You see do you like the sound effects, awesome, I'm available for bar mitzvah's, parties, all sorts of things, store announcements contact my agent. So what I'm gonna do is just play that on the epub interactivity preview for you so you can see that working. There you go slow, squash, squash and it's also got another animation property in there if I just play that again. So what you're actually seeing there is an animation property called squash and stretch so when things land they're not like pool balls on a pool table, they don't just go whack and just go off in a different direction and the easiest way to grab this concept is this. Imagine that you're on a small step and you're going to jump from the small step downwards, nowhere high, you're not gonna hurt yourself just a small step and so when you jump when you land the impact of your weight hitting the floor, mine to a greater degree hitting the floor means that your knees bend to absorb the impact and then you stretch back upwards. You temporarily become a bit wider as your knees stretch outwards and then you stretch back up while you readjust your posture and it's a well known animation technique and that's built in to that particular preset. If I come along here and just make sure that you can see everything in the panel so I'm just gonna open up all all of the properties there, let's have a quick look here what we can see. Firstly the duration, underneath all the events we've seen so far we've got the duration how long does it take for this event to go. Now you might think that a second is no time at all in day to day life, a second is no time at all. But in the world of multimedia a second is actually quite a long duration, in 3.125 seconds that's quite a long event for something like this so if you need to tune that if it looks a bit slow to you then it will change all of those things relatively along there. How many times it plays, that's important now this particular action really does only need to play one time. It's simulating the landing of the object but if it was an interactive element that you were using to call to attention, let's just say you had some arrows that were maybe turning around, you might want those to loop continually you might want them to sit there working like a little fan to attract attention, you could have that. You can determine the speed here so these are things that you can change, I'm just gonna move down the screen a little bit so you can see it. You can change these and then these Ease In properties and I'll explain to you what Ease In properties are. They are the easiest way to think of these, I'm gonna use another real world analogy here, when you get in a car you don't suddenly get to 40 miles an hour when you sit in the car, Star Trek, it just doesn't happen. You ease in to that motion so you depress the accelerator in the car and the car gradually makes its way up to the velocity that you're actually trying to achieve and then carries on at that. Just in the distance you see some traffic lights and it's always a good idea to slow for traffic lights. They don't have to be changing, it's just a good idea to slow so you see the traffic light so you start to slow down and let's just say they've gone red so you've got to stop and that's where you ease out of that motion. That's what Ease In is, it really is that simple. Easy in, easy out just changing that thing. I'm expressing it as a curve with my hand here that's because it's actually seen that way in a graph which with a bit more advanced use, you would actually come across. I'm gonna leave that so it's from the preset, you can then choose whether it goes from its current appearance to its current appearance, it's kind of like reversing. When I took the cube off the layout in the first segment, the first bit of animation we did, I could've actually swapped that out so it went to its current appearance or from its current appearance and so on, it was actually going to the appearance there and to its current location. If you need to you can rotate something around. If you're going to rotate it, really it's a good idea to use this grid to change the origin because that will change its relative position so for example, if I had another box here and I clicked on the top right hand corner that means the action would take place with the right hand corner as its origin, that would change how it moves. Scaling doesn't apply to this one but it does apply to some presets and opacity you sometimes see fade in and fade out which you saw in the initial thing. These are all things that you can play with and change to make your animation different from the default and suit your own purpose.
From Photo DJ, my epub interactivity preview is very small is there a way to adjust it to make it larger?
Yeah, pretty much go, it's a great question, and it is. It really opens up really, really tiny as you saw with mine. So DJ, is DJ Photo is it?
Yep, Photo DJ.
Okay, oh Photo DJ, sorry my apologies. Yeah, when it opens you can actually grab hold of the corners, let me just pull this what I tend to do is I pull this out and I go for the corners you should be able to resize it by either the bottom left or right corner and you can just bring that out to whatever size you need, even if it overlaps other elements just watch out for the blue lines. Those are the things you need to watch out for, if you see a blue line it means it's gonna dock with that particular part of the interface. You can resize that so however you're comfy and then just drag that back to the location so here comes that blue line, can you see that? Now that blue line would put that in the wrong place for me, I actually want this little line here, so it falls into that particular group, now that's collapsed. So when I click it, it expands out nice and big like that. Click it again, it goes away so that's perfect for that.