Skip navigation
digitalnoob 125 posts
Aug 27, 2004
Currently Being Moderated

How do I make a text caption disappear in Captivate 7?

Oct 6, 2013 1:34 PM

Tags: #captivate #7

Hi,

 

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?

 

 

 

thanks!

 
Replies
  • Currently Being Moderated
    Oct 6, 2013 1:42 PM   in reply to digitalnoob

    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:

     

    ShowHide.png

    ShowHIde1.png

     

    Lilybiri

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 6, 2013 3:08 PM   in reply to digitalnoob

    You cannot trigger an advanced action with a text caption, only with an interactive object, only those have an Action accordion:

    http://blog.lilybiri.com/events-and-advanced-actions

     

    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'.

    http://blog.lilybiri.com/curious-about-variables-in-captivate-4-5

     

    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.

     

    Lilybiri

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 7, 2013 3:02 AM   in reply to digitalnoob

    Hello,

     

    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.

     

    Lilybiri

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points