Skip navigation
Kristian C
Currently Being Moderated

Appear after all buttons clicked

Nov 23, 2011 11:42 AM

Tags: #buttons #captivate #captivate_5 #next

OK, I have a relatively easy question for you guys. I have a slide with four persistent buttons on it and I want a link to the next slide to appear after the four buttons have been clicked. What confuses me, however, is that I'm not sure where to put the "Advance to Next Slide" button on the timeline.


I'm assuing that the problem is that I have all the buttons set to pause at the same time, but I'm not sure what the alternative would be.


I've attached pictures of my slide and timeline below. Any feedback you could give me would be much appreciated. Thanks.



  • Currently Being Moderated
    Nov 23, 2011 12:13 PM   in reply to Kristian C

    Is there a sequence imposed for clicking the buttons? And what do you want those buttons to do? Can the user click multiple times on each button?


    In your present situation, clicking one button will release the playhead and it will continue till the end of the slide.


    If the sequence is imposed, you could stagger the button timelines, so that the pausing point (between active and inactive part) is earlier for the first button, bit later for the second etc. In that case you can use the present setup for the button: make it appear just after the pausing point of the last button to be clicked.


    If the sequence is not imposed you'll have to use advanced actions? I'll explain when you have answered my questions.



    Mark as:
  • Currently Being Moderated
    Nov 23, 2011 12:24 PM   in reply to Kristian C

    Hi Walter,


    One idea would be to put a conditional action on each of the coloured buttons that:


    a) counts each button clicked and

    b) when 4 buttons have been clicked it shows the next page button.


    Just to show Lilylibiri that I was listening yesterday you could set it up like the interaction she explained here:


    But instead of attaching the Advanced Actionss to click boxes you are attaching them to buttons.


    You need to create a variable that will count how many buttons have been clicked. (v_counter)

    Each action should be a conditional action with 2 decisions


    First one:


    1 is equal to 1


    v_counter = v_counter + 1


    Second one:


    v_counter = 4


    show button


    Your next button should be marked invisible and should appear on your time line at the beginning and run for the rest of the slide, just like everything else. It will only show up after the 4th button is clicked, though.


    That's one way of doing it. I'm sure others have other ideas!

    Mark as:
  • Currently Being Moderated
    Nov 23, 2011 12:40 PM   in reply to Kristian C

    Well you can thank LilyLibiri if it works, I learned it from her yesterday!

    I made a model of it--let me know if you need to see it.

    Mark as:
  • Currently Being Moderated
    Nov 23, 2011 12:46 PM   in reply to Kristian C

    OK Walter, then you really need advanced actions for the buttons. Noellet gave some ideas but it will not work if the user can click multiple times on each button, sorry Noellet. I will try to explain why: in your scenario the Next button will also appear if the user clicked four times on the same button


    Walter, you need to create one user variable for each button, I will label them v_one, v_two, v_three, v_four.  You do not need to give those variables a start value at all. They will be set to 1, when the corresponding button is clicked the first time. You will need a conditional advanced action for each button, and as Noellet correctly pointed out, the 'Next' button has to be initially invisible.


    Each conditional advanced action will have to do several things, showing the text caption and hiding all other text captions, set the value of its variable to 1, check the value of all the user variables and if they are all=1 the next button will be made visible. Easiest way will be to create indeed a counter variable as well v_counter.


    Would use 2 decisions: first will be a mimick of a standard action, second will be a really conditional action. For the first button, where the Text Caption is TC1 this will be:

    First decision: IF 1 = 1     (will always be true, so THEN actions will always be executed

                        THEN      Show TC1

                                       Hide TC2

                                       Hide TC3

                                       Hide TC4

                                       Assign v_one with 1

                                       Expression v_counter = v_one + v_two

                                       Expression v_counter = v_counter + v_three

                                       Expression v_counter = v_counter + v_four                    need 3 expressions to calculate v_counter

                                       Assign rdcmndGotoFrame with rdinfoCurrentFrame      to rewind the playhead


    Second decision  IF v_counter = 4

                             THEN  Show BtNext      shows the Next button

                             ELSE  Continue


    Did not try it out, let me know if it works, logic is OK









    Mark as:
  • Currently Being Moderated
    Nov 23, 2011 1:00 PM   in reply to Lilybiri

    And now this will help me too! I'll also try it out and see if I can get it to work.


    Thanks so much.

    Mark as:
  • Currently Being Moderated
    Nov 25, 2011 12:11 PM   in reply to Kristian C

    The Else statement Continue makes sure that  the playhead doesn`t stop. In a conditional action it is not always necessary.

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (1)

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