Skip to main content
Participant
March 30, 2012
Answered

Hiding Next Button

  • March 30, 2012
  • 5 replies
  • 1832 views

I know that people have posted answers to this question already, but I'm being really dim and don't understand them. I have a slide with 5 rollover areas on it and I want users to have to roll over these before they move onto the next slide so I want to hide the next button until they've looked at everything.   I've had a good look at other threads and other sites on the net that explain this but I've never used Advanced Actions before and have only been using Captivate for about 6 weeks (It's Captivate 5).  I've tried to follow the instructions but I can't make it work and to be honest I don't understand what I'm trying to do.

Is anyone able to explain it really, really simply.  (Don't assume I know anything, because I probably don't!)

    This topic has been closed for replies.
    Correct answer Lilybiri

    Hi,

    Thanks for your help.    Here are the answers to the other questions.

    1) I wanted the user to be able to click in any order they liked. 

    2) I would like the captions to stay visible, if possible so they shouldn't need to click on them again.

    3)  They would only view the slide once before moving on.

    Thanks


    OK, then will try to give you some help.

    • Create the five text captions, label them something like TC_1, TC_2, TC_3, TC_4, TC_5 and uncheck the visibility in the Properties panel for those captions
    • Create the five 'items' they have to click on: either you create them as buttons (image buttons), or as click boxes over an image, that is up to you. But be sure to label the interactive object (either the click box or the button) in a similar way as the text captions. Example for click boxes: CB_1, CB_2, CB_3, CB_4, CB_5. This will make them easy to recognize which one is linked to which caption in the advanced actions
    • Create the Next button and uncheck its visibility in the Properties panel; I would label it Bt_Next
    • Create a user variable v_counter; you could give it an initial value of 0, but it is not really necessary because that is the default value

    Now the advanced actions, which is the most difficult part because you'll need a conditional action proceeded by a standard action which is a bit confusing to achieve. If you want more detailed explanation, have a look at my article

    http://kb2.adobe.com/community/publishing/862/cpsid_86254.html

    You need an advanced action for each click box, but you can duplicate and edit the first advanced action I'm now describing. I will label it CB_1_ac to make it clear that it will be triggered by CB_1; this action will have 2 decisions: the first, will label it ShowTC is a mimicked standard action, that will show the text caption (or the image, forgot to ask what you will show), disables the present click box and increments the counter; the second, labeled CounterCheck is a real condition that checks the value of the counter and if it reaches 5 will show the Next button; you only use the first page for each decision, not the ELSE part:

    This action has to be duplicated 4 times to have the actions CB_2_ac....CB_5_ac. You have to edit only the Actions part of the decision ShowTC to change TC_1 and CB_1 to TC_2.... CB_2 etc

    Then attach those actions to their click box, as Success action in the Properties panel. Try it out... I created this sample and it works fine.

    Lilybiri

    5 replies

    Participant
    April 2, 2012

    Hi,

    I'm currently working on a slide with rollover captions on it, but I can use click boxes instead.  I would like users to be able to click on them in any order.   Does that make things easier if I do it that way?

    Thanks everyone for your help.

    Lilybiri
    Legend
    April 2, 2012

    Hello,

    Yes that makes it easier. But you didn't reply to my other questions: important are those questions:

    1. Is there a free or an imposed sequence for clicking?
    2. Do you want the user to be able to click multiple times on the same item to view again the caption appearing? or..
    3. do you want the captions that have been made visible to stay visible, I mean that they do not have to be hidden again when a click on another item occurs?
    4. Will the user ever return to this slide within the same session?

    Your answers are important for the setup of the advanced actions and user variables. One example: if the user doesn't return ever to this slide, you do not need to re-initialize the values of the user variables.

    Lilybiri

    Participant
    April 2, 2012

    Hi,

    Thanks for your help.    Here are the answers to the other questions.

    1) I wanted the user to be able to click in any order they liked. 

    2) I would like the captions to stay visible, if possible so they shouldn't need to click on them again.

    3)  They would only view the slide once before moving on.

    Thanks

    Lilybiri
    Legend
    March 31, 2012

    Hello, welcome to the forum,

    Advanced actions are triggered by an event. You do not specify which rollover object you mean? If you want the rollover to be able to trigger an advanced action you need the rollover slidelet because it has even 2 events: on rollover and on click. If you want a rollover caption or a rollover image you need the Eventhandler widget from Infosemantics, indeed because it can create an event for those rollover objects.

    Click boxes were mentioned, but then they have to be clicked and you only talk about rollover???

    If the rollover caption/images are to be clicked in a certain sequence, you could even arrange them on the timeline (stacking) and put the Next button's timeline just after the last rollover object. No need for advanced actions in that case. But I think you want the user to click in whatever sequence they want.

    If you answer those questions: could you cope with a rollover slidelet? Is the sequence of rollover free? Are you prepared to buy the Eventhandler widget? And I suppose the user can rollover multiple times over the same rollover area? Or are you ready to use a normal caption (or image) to show up on clicking instead of rollover?

    I will try to guide you then for the advanced actions and the user variables you have to create after you answered those questions.

    Lilybiri

    AndyKingInOC
    Legend
    March 30, 2012

    the infosemantics Event Handler widget might work with your rollovers, but I'm not familiar with it, so I'll let RodWard (or someone) address that.

    http://www.infosemantics.com.au/adobe-captivate-widgets/event-handler-interactive

    Known Participant
    March 30, 2012

    As Andy said, you'll have to use click boxes instead and use them in conjunction with variables and advanced actions.

    You'll create a variable for each click box. then you'll assign an action to the click box that when someone clicks on it, the variable associated with that click box will be assigned a particular value (i.e.'1')

    You'll also place the next button on the slide, but make sure you uncheck the "visible" box under properties.

    Then you'll use an advanced action. If all of the variables have a particular value then show the next button.

    Lilibiri has some great articles on her blog that explains how to set up advanced actions and variables. Those are really helpful.

    AndyKingInOC
    Legend
    March 30, 2012

    Rollover captions or images will not work for what you want to do.

    You would need to use a clickbox and advanced actions and variables.