Learn the steps to finalize the third page of a digital display, including assigning responsibilities to created objects and making necessary adjustments to ensure everything works correctly. This piece offers a comprehensive guide on how to assign buttons, reverse animation, hide/show buttons and troubleshoot common issues.
Key Insights
- The process of creating a seamless digital display involves assigning responsibilities to created objects, such as transforming a created 'x' into a functional button.
- It's essential to test each element's functionality and adjust aspects like animation direction and visibility of buttons to achieve desired interactivity.
- Troubleshooting is a significant part of the process. It involves making changes and previewing the work multiple times to ensure everything works as expected. It's crucial to be patient and understand how each element relates to each other throughout this stage.
Note: These materials offer prospective students a preview of how our classes are structured. Students enrolled in this course will receive access to the full set of materials, including video lectures, project-based assignments, and instructor feedback.
In this video, we'll be finalizing our third page of our digital display. When we left off, we had our X currently created; however, it doesn't yet have functionality, so let's assign its responsibilities as a Button. We'll select our X, and if we go to our Layers Panel, we'll want to rename this. In this case, let's rename it “X Button.”
Hit ENTER. Next, we'll go up to our Buttons and Forms Panel and select it, selecting our Type and checking “Button.” We'll also reassign the Button name to “X Button” and hit ENTER.
Let's change the Event to “On Click.” When we add our Action, we're going to go down to Animation and first select our “Description Background.” Rather than having this Description Background play again and come up from the bottom, we're going to select “Reverse.”
We'll also do the same thing—go to Animation and this time select our “Description of Photo, ” and again we'll select “Reverse.” Finally, as one additional change, we want our “Photo Details Button” to come back up. We'll add another Action and go to “Show/Hide Buttons and Forms.”
From here, we want “Photo Details Button” to be visible, and we want our “X Button” to no longer be visible. When we see the X icon next to an item, it means that item won’t be affected by the Button click. However, in this case, we want “X Button” to be hidden.
So let's now preview our work. We'll click Preview, then Clear Preview, and then click Play. From here, if we select “Photo Details, ” we'll see that the animation plays correctly. If we select the X Button, both elements are reversed and the original Button is still here.
If we reload this once more, let's take a step back and see if there's anything else. In this case, we can see that our Button is not hidden at the beginning. Even though the animation works correctly, the Button appears at the start, which it shouldn't.
We need to make a couple of changes. We'll close this out, and when we go to “Photo Details, ” let's edit the Button functions. From here, we're going to want to make our “X Button” visible.
That way, when “Photo Details” is clicked, the “X Button” will appear. Again, we'll preview this by hitting Clear Preview and clicking Play. From here, we still see the X, which means we need to re-troubleshoot and see what's happening.
When we're working with digital files like this, it's important to remember that there are many steps and relationships between each of the objects. So don't get discouraged if, like now, we have to go through multiple steps to determine how everything works together. To fix this specific problem, we need to select our initial X Button, and to correct it, we're going to go to Buttons and Forms and, under Appearance, check “Hidden Until Triggered.”
Again, we'll preview this by hitting Clear Preview and Play Preview. As we can see, the X is now hidden initially. So let's try this again: selecting “Photo Details, ” we’ll see the X Button, the Rectangle, and the text. If we click the X, all of them disappear, and we can repeat this process as many times as we like.
As one final change, while I like that the Rectangle and then the text appear, I don’t like that the Rectangle disappears first. So let’s change the order.
To do this, we’ll go into our X Button, open Buttons and Forms, and drag the animation for “Description Background” below the animation for “Description of Photo, ” so that the text disappears before the background. Again, we’ll preview, click Clear, and click Play. Now, when we click the X, the text disappears first.
Again, when working with a lot of interactivity, we'll preview these objects many times. Often, our time is spent troubleshooting why things behave in certain ways.
So be patient with yourself and continue reviewing what you’ve learned while exploring how these features relate to one another. For now, let’s save our work—we’ve now finished our third page. Hit CTRL+S on the keyboard to save, and in the next video, we’ll be working on our fourth page.
See you there!