Start learning with our library of video tutorials taught by experts. Get started
Viewers: in countries Watching now:
In InDesign CS5: Interactive Documents and Presentations, Adobe Certified Instructor and designer James Fritz shows print designers how to use InDesign by itself and in conjunction Flash Professional to layout and design a wide range of digital documents. The course provides a tour of digital publishing trends, showing real-world examples of what can be achieved through InDesign. Several start-to-finish projects are also included, such as creating a presentation with transitions and animations, and building an interactive microsite. Exercise files accompany the course.
When you create button actions inside InDesign they do not transfer to Flash. Their appearance in rollovers will be present, but you've have to go through a few extra steps in order to make them work again. Inside our Flash layout we need to double-click inside the first spread to get in here to be able to select the actual buttons. I am going to grab the Next button and what we have to do is give it a name. I am going to come up here inside our Properties tab and I'm going to give the instance a name. I'm going to call it next_btn for next button and hit Enter. Now that I've named this button, I need to provide an ActionScript to be able to tell it what to do. I am going to come to the Code Snippets panel and I'm going to open up Timeline Navigation and then double- click on Go to Frame and Stop.
When I double-click, the Actions panel is going to pop open and we are going to see it says gotoAndStop(5)). Well that's great, but it doesn't really help me right now because this is telling me to go to the fifth frame within this movie and if I close this panel, you are going to see that I'm only in one frame inside this particular movie. What I need to do is have it go back to the main scene to jump to the next spread. So I need to modify these actions slightly. I'm going to put my cursor in front of here and I'm just going to type in MovieClip(root).
And I can leave the gotoAndStop and then just change this to a 2 because I want this to go to the second spread. Now that I've got this I'm going to copy this to the clipboard. Because I'm going to have to reuse this a few times, I definitely don't want to have to retype that. With that copied, let's preview the movie. We can see that the movie stopped. We're on the first spread. Well I mouse over I've got the preview for the next page. I'll click the button. It goes to the next page. Now I want to go to the rest of these, but I haven't made these work yet. So let's close this and program the rest of the buttons.
I want this button to the last page so I am going to select this. I am going to give it a give it an instance of last_btn, hit Enter, go to my Code Snippets panel. I am going to double-click on Go to this Frame and Stop. I am going to put this code in here. I need to paste in what I put before. I just have to change this frame to 5 because this is going to be going to the last frame in the movie because it's the last spread, which happens to be five. I can close that. Now we are going to go back and we are going to go at the first scene so we can go to the next spread and in next spread I am going to double-click and I am going to come in and grab this button, which happens to be the previous button.
So I am just going to call it back_btn, hit Enter, double-click and Go to Frame and Stop, paste in, and this is going to be the first frame. We can close that and we will repeat the process for this. We will call this one first_btn, double-click, and paste this in, and that's going to be go to the first frame. Now that we have this finished, let's test our movie. On the first page we can click to go to the second spread, and then we can also click to go back to the first spread.
We'd have to repeat this process for the rest of our buttons. This is just a small example of the process used to create functional navigation buttons inside Flash. If you want to learn more about buttons and actions, I recommend you watch the Flash Professional CS5 Essential Training by Todd Perkins on lynda.com.
Find answers to the most frequently asked questions about InDesign CS5: Interactive Documents and Presentations.
Here are the FAQs that matched your search "":
Sorry, there are no matches for your search ""—to search again, type in another word or phrase and click search.
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.