Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
The Object States panel lets you create multiple versions of an object. Each of these versions is called a state. While only one version of a state can be visible at a time, you can use a button to switch to another state. Inside my layout, I have a layer called MSO, for Multi-State Object. I'm going to open up this layer, and you can see I have four different items: explore ca, desert to sea, taste of ca, and nature watch. If I turn off each of these layers, you can see each element. I'm going to turn these back on. I'm going to align all these objects. With my Selection tool, I'm going to select all of them, open up my Align panel, and align them horizontal center and vertical center.
Next, I'm going to align them centered on the page. I can close this panel. With all these objects selected, I'm going to create a multi-state object. I'm going to open my Object States panel. If you don't have this opened, you can go to Window > Interactive > Object States. With them selected, I'm going to hit the button to create a new multi-state object. I'm going to name the object "slideshow". Each item on the page that was selected now becomes its own state. When I click on each state, it becomes visible. Each state is named already, because I had them named inside my layer panel.
Now that I have a multi-state object, I'm going to use these buttons to go to that state. I'm going to select Explore California button go to my Button panel and add an action, SWF Only Go To State. I'm going to choose the Object slideshow, in the State, explore ca. And now, we'll repeat this process. I am going to add an action, Go To State. This time desert to sea. Go To State, taste of ca, and finally, nature watch.
Inside the Preview panel, we'll see explore California first. The reason is this is the first state inside a multi-state object. But if I click on desert to sea, it switches to desert to sea, and I can go back to each of these buttons. Now, you notice I didn't do snowboard California. Let's close the Preview panel and take a look. I purposely hit this particular item. I'm going to turn on the hidden layer, so we can see snowboard California. I am going to position this on top of the other elements. If I need to add another item to my multi -state object, I'm going to stack in on top of the other elements and then select all of them. Inside my Object States panel, I'm going to hit the button that says Convert selection to multi-state object.
When I do this, it's going to add it as a fifth state. Now I can select the Snowboard button and add the action to go to that state. And let's preview to see if they all work, and they all work as expected. A slideshow is one of the most common uses for multi-state objects. Well, let's take a look at a few other options that we can do. What if I need to add another element to the multi-state object, but I don't want it as its own state? Well, inside my hidden layer, if I open this up, I have another layer called "banner". I'm going to select this and cut it to the clipboard. After cutting it to the clipboard, I'm going to select my multi-state object, open the States panel, and hit the button that says Paste copied object into selected state.
I want to do this, because it added to that state. Now I can go to each state and pasted in. If you want to transform all the states, there is a button inside the Object States panel, when I click this, it allows me to select all of the states, and I can apply any object transformation. I'm going to go to Object > Transform > Shear and add a 6-degree shear, and you can see each state was sheared. If you want to make a formatting change on each state, that's either going to be a manual change or change made via style.
I'm going to do a few undos to undo that shear. The reason I'm pressing undo multiple times is I have to step back through each selection of state. Whenever you change a state, it's considered an action on the page. Another option inside the Object States panel is Hidden Until Triggered. When I turn this on, it's going to hide the multi-state object until I press a button. Let's preview the panel with this action turned on. You can see I currently don't see my multi-state object. It's waiting for me to click on an item. When I click on a button, it becomes active. This way you can hide your slideshow until you're ready to start it.
Finally, inside the Object States Panel menu, I can release all of the states to objects. You would do this if you no longer want your object to be a multi-state object, and you just want them back to normal. When I click this, it's going to warn me about this process. I'm just going to click OK and dismiss this. And now it's no longer a multi-state object but a selection of all of my original elements. Multi-state objects are useful for slideshows, pop-up windows, charts, and more. Start experimenting with multi-state objects and see what interesting documents you can come up with.
Get unlimited access to all courses for just $25/month.Become a member
119 Video lessons · 50754 Viewers
117 Video lessons · 38439 Viewers
113 Video lessons · 81487 Viewers
65 Video lessons · 11376 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.