Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
Multi-state objects can take up the same space for every state, like a slideshow, or they can be used for any amount of content on a page. This could be useful for different variations of a design, part of a hot-spot, or even a pop-up window. On this map I have already created a multi-state object. So I'll grab my Selection tool and I select this multi-state object. I can go to the Object States panel, and we can see that there is a different state for every portion of the map. I am going to leave it on All for right now. Over on the left I have a series of buttons and when I click on the Move button I want to show only the move state.
So I am going to double-click to select this button, open my Button panel, and add an action to Go To State. I am going to choose the state, Move, and I am going to repeat the process for the other buttons, Go To Eat, Go To State, Eat, Live, Go To State, Live, and Enjoy, Enjoy.
Let's preview. (Hum as map swoops in) Our map comes in, and I can click on each of the buttons to go to each state. To make this more interesting, let's add a sound effect. I am going to select this button again, go to my Button panel, and I am going to add another action for a sound, and we are going to play the mapClick sound. I am also going to do this to the other buttons. Now let's preview again.
(Hum as map swoops in) (Whoosh, whoosh, whoosh, whoosh) There we have a nice sound effect for each button. But if I want to see all of them, we have a little button here that I can choose to add all of them. I am going to double-click down. Select this button. I am going to add Go To State, All, and then I'll add an action to play that same sound effect.
The last thing I want to do on this map is add a pop-up effect. I am going to open my Multi-State Objects and there are two layers that are hidden. I am turn On Empty and Grease Cart. The Grease Cart is a big pop-up window, but if I scroll up you can see I have an empty frame up here. I am going to hold the Shift key and select both of them and create a multi-state object. I am going to rename State 1 to None, and I am going to rename the object pop-up.
When I click on this button, I want to open up the pop-up window. So I am going to go to my Button panel, add an action, and say Go To State. I am going to choose the pop-up multi- state object, and I am going to choose the state Grease Cart. Let's preview. (Hum as map swoops in) Now if I click on this button I get the pop-up window, but I can't close it. There is a Close button, but it's not working. Let's add the Close button. I am going to go back to my multi-state object, select the None, switch to the Grease Cart State, and then double- click to select the Close button.
I'll open my Button panel and add an action, Go To State, pop-up, None. Now that will close the pop-up window, and let's preview for one last time. (Hum as map swoops in) The map fades in. I can click on any of these buttons to see a map, (whoosh, whoosh) or I can see all of them, and if I click on this, I get a pop- up window and I can close it. Well, that may have seen like a lot of work.
It goes to show the importance of naming your objects correctly. When everything in your document is logically organized it makes creating interactive content that much easier.
Get unlimited access to all courses for just $25/month.Become a member
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.