There are many ways to create a Click/Reveal interaction. Some are very old (with jump to slide), others are pretty old (show/hide) and lot depends on the exact situation. It is possible that I will make a complete analysis, although I don’t think this will appeal to many users.
However my sense of justice is too keen, and I cannot leave this type of comment (newbie) without reacting:
“This is basic stuff right! Why is it so complicated? “
If you want to know more, explore the discussion link.
I created a quick example of the most basic workflow which can be used. Will explain step-by-step.
A two-slide project. The Click/Reveal interaction is on the second slide. You see three characters, which act as toggle buttons. When you click a character, a speech bubble will show up, when you click the character again, the speech bubble will disappear.
There is a Back button top left (but you can also use the Back button on the playbar which I have left in this project). You'll see that when revisiting the slide, the original situation is reset: no speech bubbles. Even if you leave the slide with one or more speech bubbles opened.You can use this link to view a rescalable version or watch the embedded one below (fixed resolution):
Step 1 Characters to button
Download the Characters and insert them on the slide. Check the option ‘Use as button’ in the Properties panel (red outline in screenshot below). Leave the option ‘Retain state on slide revisit’ unchecked (green outline)
TIP: you don’t have to do this three times. Select the three inserted Characters (using CTRL button to add to the selection, or by creating a selection rectangle which cuts the three characters. Check the option in the Properties and it will be done for all the Characters.
Step 2: Custom state
Select one of the Characters. Click the State view button in the Properties. Look at the screenshot above, where you see the button with a Blue outline. The Object state panel will appear, which will have 3 states because you have a ‘button’: Normal, Rollover and Down. I deleted the last two ‘InBuilt’ states. They were identical to the normal state. You can do that with the right-click menu as shown in this screenshot. The Down state was already deleted, here the Rollover state will be deleted.
Now add a Custom State using the New State button. Make sure to choose Custom under the first dropdown list (click the triangle button). You can edit the default name (NewState1). You have seen in the previous screenshot that I labeled it ‘Answer’.
That state will be selected, and you can add the speech bubble (eventually even with audio attached to it) and or any other object you want. Use the stage, where all will be dimmed in the background except your new custom state:
Close the Object State panel using the Exit State button at the end of the top Big Button Bar:
Step 3: Actions
Select the Actions tab in the Properties panel for the selected Character button. For the On Success event set up this action:
You may see how easy it is to detect the multistate object to choose from the second dropdown list, since its name appears at the top of the Properties panel.
IMPORTANT! You have to uncheck the option ‘Continue playing the Project’ (red outline). That will prevent the playhead to be released. Will not expand in this article on pausing the timeline.
Your toggle button (character) is ready. Start testing using F11, Preview HTML in Browser.
Comparison with Show/Hide
What are the advantages of the described workflow over the older Hide/show workflow which was chosen by the user:
- Show/Hide will need a lot more objects on the slide. In the multistate workflow the character is the only object: it is used as button, and the bubble (eventually the audio and/or other objects) is in a state of the character.
- Since using 'Go to Next State' will loop between the Normal and the Custom state, there is no need for a close button. If you want to achieve the same with Show/Hide you can also create such a toggle button, but that means a tracking variable and a conditional advanced or shared action. If you don't want a toggle button, you need to add a close button to the group to be shown.
- One of the biggest advantages is the automatic reset when revisiting the slide. Because the option 'Retain state when revisiting the slide' is unchecked, revisiting the slide will result in having the Normal state for each of the Character buttons. If you use a Show/Hide workflow, you have to use the On Enter event of the slide to reset everything, which means another advanced or shared action.
Hope you understand why I labeled this post as being a 'super easy' workflow. Multistate objects are available since version 9, there is no reason why you want a more complicated workflow in the 3/4 last versions.
To be honest, there is one disadvantage: you cannot apply an effect to the Speech bubble when appearing.