- You may run into a situation where you've been given a file where each state of an MSO has been supplied as individual pages. This could be for a variety of reasons. Perhaps the file started as a print document and now needs to be converted to EPUB or DPS. Or maybe the designer handed it off to you after storyboarding it. Regardless, we need to convert it to a single MSO. Let's take a look at this file I've got open. It is pages.indd in your exercise files.
And I'm going to just come over here and open up the Pages panel so I can see what I'm dealing with. And I've got six pages. So I can take a quick look at the content by double-clicking on any page. That's page 5. And, looks like I've got content for Palm Springs there. And page 6 is San Diego. And so, I can see what we're going for here. I've seen pretty much enough. I know what I need to do here. And so, I like to start at the end and work my way back to the beginning when I'm doing something like this.
So I'm just going to go to page 6 by double-clicking again. Before I can do anything as far as converting these pages into states, I need to group everything on each page that is going to be added to those states. It just makes things a lot simpler to move things around, and a state can only be a single object when you're converting it to begin with in an MSO. So let's select everything on this page by using the command a keyboard shortcut, and then command g to group everything.
And I've got everything grouped here. And one of the things I wanna do, you may have noticed as we were creating multi-state objects in the earlier lessons, that each state comes in just being called State 1, State 2, State 3. And that can be a little confusing at times. So I want to make sure that I've got names for those states. I can do that before I create the MSO. Let's get the Pages panel out of the way here because we're done with that for right now.
And I'm going to open up my layers panel. And I'm gonna pull it out so we can work with it. And you can see that this page that I'm dealing with is now nothing but a group. And I'm going to click on it once, and then again, so that I can rename that group. And we'll just use SD as a shortcut for San Diego. And now I can just sort of pull right up here on my scroll bar, and we can get to page 5. I'm going to do the same thing.
I'm just gonna use command a, and then command g. And again, I've got a group. And this time I'm just going to rename it again, and we'll just call it Palm Springs, and we'll just use PS. I can just scroll up a little bit more and we'll get to this Mammoth Lakes page. And again, command a and command g. And let's rename this one. We'll just use ML, and hit Enter to accept that.
Let's go up again. We'll do the same thing, command a, command g. Over here we'll just use LA. Let's go up one more time. Command a, command g. SF for San Francisco. And one more time, we're now at page 1. This one, I'm going to use command a and command g again, and I'll use command a and command g again to select everything and group it.
Because this is gonna be our start, we'll just call this start. Now I've got all of the groups created. Now I need to get them all in one place because I can't create an MSO across pages. So I need to get everything on a single page. Now we're going to be doing a lot of cutting and pasting here. And one of the things that I'd like to do is create a keyboard shortcut for paste in place. Now there's already one that exists.
You can see in the Edit menu, it's grayed out because I don't have anything on the clipboard. But you can still see that there are keyboard shortcuts assigned here. Now, I don't want to have to use four keys in order to paste in place. And one of the things about paste that I have found is that it very rarely pastes anything exactly where you want it, whereas paste in place almost always does. So I'm gonna switch the keyboard shortcuts. And I'm gonna come up to the Edit menu and scroll down to Keyboard Shortcuts.
I'll go to the Edit Menu, where I can change this. And I can just scroll down to Paste. And I'm gonna delete this, because that's the keyboard shortcut I wanna use for paste in place. So I'll just click Remove. And it's going to prompt me to create a new keyboard shortcut set. Say Yes to that. I'll just call it bob, we'll know that that's mine. Now I want to take the paste in place, I wanna delete that default keyboard shortcut.
And I'm gonna come down here and I'm gonna enter my cursor into the New Shortcut box. And I'm just going to hit command v. When I click Assign here, that's gonna be the new keyboard shortcut. I'm going to click Save to save my set and say OK. So now I can use command v in order to paste in place. Now, let's come down to page 6. I like to start at the back again. And I'm gonna select this group. And you can see I've got it selected in the Layers panel.
And I'm gonna cut it to the clipboard using command x. And the reason I like to cut to the clipboard is because I'm gonna be doing a lot of this, and I wanna make sure I don't do something twice, which I could do if I was just copying. So with that, I can then come back up to page 1 and I can just use the command v shortcut that I just created to paste in place. So let's get back down to page 5. And you can see I could have gone to 6 by accident. So I'm gonna click on page 5 here and I'm gonna cut this one to the clipboard.
And let's go back to page 1, click to make sure I'm on that page, and command v. And we'll scroll down again, we'll just click, command x again. Let's come back up, paste this in place. We've got two more to go. We'll get this one, come on back up, paste it in.
And let's get the last one here, cut that to the clipboard, we'll paste this in place. And now I've got all of my content on one page, just where I want. And you can see it's all here in the Layers panel. I can just come on up here. If I wanna get everything that's on this layer, because they are all sitting in the same layer, I can just option click the layer name. And, of course, on Windows you would be alt clicking on the layer name. And now I've got everything selected in there.
And now I can create my multi-state objects. So let's open up the Object States panel, pull this out here so you can see what we're doing. With everything selected, as you can see, in the Layers panel, I'm just gonna come on down here at the bottom of the Object States panel and click Convert Selection to Multi-state Object. And sure enough, there is our multi-state object. And all of the states have their names attached to it. So I can just click here, and I can see exactly which state I'm in.
Now, the one thing I need to do before I finish this up, the first state in any MSO is going to be the default state when you open up in EPUB or a DPS publication. And so, I wanna make sure that this start state, which right now is at the end, is the first state. And this is pretty easy to do. I'm just gonna click on it, and then I'm just gonna click and hold. And I can just drag this up to the top. And I can even rename the MSO itself.
Let's just call it California, and I'll just hit Enter to accept that. Now I'm gonna pull the Layers panel over here so you can see this. When I refresh the Layers panel a little bit, you can see that that automatically changes over there, too. So you can see those naming conventions that are going through from one panel to another. While there's some work involved, converting multiple pages into an MSO is really a pretty straightforward procedure.
- Working with the Object States panel
- Creating content for basic multistate objects (MSOs)
- Using layers and pages to create MSOs
- Adding and removing states
- Adding content
- Adding objects as states
- Controlling MSOs with buttons
- Using MSOs for interactive content
- Nesting MSOs