I want to make a text caption disappear.
I don't want to use a rollover or slidelet because their hotspot area (even transparent) covers the button which stops the up, over, and down rollover states from showing (I want the different state colors to show). To make sure the 3 button state colors show, I used an advanced action with the button to 'Show' the text caption.
It looks great but the text caption doesn't disappear when I click anywhere.
I would like the text caption to disappear when the user clicks the mouse again.
Could you please tell me how to do that?
What do you use as 'interactive object' and command to show that text caption: a button, a click box, a shape button? And you want to hide it with the same button, and play head not advancing?
Create a user variable to track if the caption is visible, I will label it v_visib, with default value of 0 (which will mean that text caption is invisible).
Then create a conditional advanced action to be triggered by the interactive object:
thanks so much for your fast reply.
I am using a button for the interaction. Clicking it brings up the text caption (while still allowing the buttons' colors for the different states to show).
For the screenshot you show in your reply, is that 'Action' attached to the button or to the text caption?
Normally, I would think the Advanced action is attached to a button, but you put a variable (v_visib) for the text caption.
Here is what I tried:
1. Named the text entry box ‘v_visib’ – am I supposed to do that?
2. Clicked on button
3. Selected 'Execute Advanced Action'
4. Clicked on the folder under 'Execute Advanced Action' (next to 'Script'). The Advanced Actions menu appears
5. Clicked on 'Conditional actions' for the Action Type
6. Under ‘Actions,’ I selected ‘Show’ – I am not sure what I am supposed to show here—is it the textbox? If so, why did you name it SmartShape_1? I thought it is ‘v_visib’
7. Under ‘Actions,’ I selected ‘Assign’ but I could not locate ‘v-visib’ in the drop down menu.
Any guidance would be greatly appreciated.
Message was edited by: digitalnoob
You cannot trigger an advanced action with a text caption, only with an interactive object, only those have an Action accordion:
I wrote 'create a user variable with a default value of 0'. That is not the label of a Text Entry Box. You can create a variable from Project, Variables or from the Advanced actions dialog box, that has a button 'Variables'.
I used a smartshape as text container, it is indeed that text container (can also be a text caption) that you want to show/hide, right?
Don't forget to create also the Else part.
What you are doing is this:
If the text container is not visible, the value of the variable will be 0. In that case the text container must be made visible (Show) AND the variable must be changed to 1. That is the first part of the condition
If the container is visible, the value of the variable will not be 0 but 1. In that case the text container must be hidden AND the variable must be changed back to 0.
After completing the Advanced Action, I realized I had to click on the correct script from the 'Script' dropdown in the Action accordion.
Next step--I want to figure out how to hide the text caption when clicking anywhere on the screen, not having to click the same button again as a toggle.
For "is equal to 0"---how did you get the 0(zero)? Did you select 'literal' and then type in '0'?
Did you save it as a Shared Action or as an Action?
Weird---nothing has changed---when I click the button, the text box shows just like it did before. When I click the button again, the textbox doesn't hide---same as before
Is there some way I can get the text box to disappear when the user clicks anywhere?
Message was edited by: digitalnoob
No toggle? Anywhere on the screen means that you need a click box that covers up all of the slide, and a standard action that just hides. But... you have already a button that is active, the click box when it covers up that button will take away its functionality. And you want to be able to repeat the action Show/Hide. So you have to put the button on top of the click box in the timeline. Create two oneline standard advanced actions (no need for a variable now): first for button to show the text, second for click box to hide the text. Be sure to keep the attempts to Infinite for both objects and to instruct the user to click anywhere on the slide (except on the button) to hide text.