Skip to main content
Participating Frequently
March 18, 2016
Answered

Adobe Captivate Advanced Actions Show button after clicks

  • March 18, 2016
  • 1 reply
  • 453 views

Hello,

I have a question concerning Advanced Actions.

I have two buttons.

When I click one button it have to disapear.

After I clicked both buttons a third buttons appears.

How can I do that.

When I try it the third button appears when I click one of the two buttons and not after I clicked both.

Here´s the advanced action I have for one of the two buttons which should disappear:

__________________________________________

assign [variable_button1] with 1

disappear [button1]

Then a related action:

IF

[variable_button1=1

[variable_button2]=1

ACTION

show Button3

ELSE

Pause

____________________________________________

I´m sorry if there is something translated not right. I found no translation from german to english of adobe Captivate.

Thank you very much for your help!

Regards,

Alex

This topic has been closed for replies.
Correct answer Lilybiri

Doesn´t a conditional action trigger automatical?

I can´t assign it to one of the buttons because it still has assigned the standardaction.


I suspected this to be the case. No, all advanced/shared actions in Captivate are event-driven. The conditional action will never be executed. I have plenty of examples on my blog for this use case, but will post it (again) in this thread. BTW: I understand German (I'm Flemish) but don't dare to write in German.

In a conditional action you can have multiple decisions, that are all executed in sequence: commands are done top-down, decisions from the left to the riight. You will have to embed the standard and the conditional action in one conditional action to be triggered by the buttons. At this moment you have only one decision (Indicated as 'Unbenannt' and selecred in your screenshot), this decision should be the second decision. You don't need to put anything in the ELSE part, but I still do not know about the pausing of the buttons, reason why I asked for a screenshot of the timeline. Your conditional action should look like this (sorry about the English terminology).

Decision 1 "Always"        I like to name the decisions and everything in my projects

    IF 1 is equal to 1

        Assign v_button1 with 1

        Disable Button1

        Hide Button1

        Show Group1

No Else part for this decision, you have to edit the duplicate for button 2

Decision 2 "CheckIt"

     IF v_button1 is equal to 1   AND

          v_button2 is equal to 1

                  Show Bt_Next

                  Enable Bt_Next

Shared actions are not possible because the variables are used in both decisiobns.

1 reply

Lilybiri
Legend
March 18, 2016

You will need a conditional action for both buttons. I suspect that the sequence is not imposed?

What is the function of those buttons, what do they have to execute?

Which version do you use? An advanced or shared action does not release the play head, using a Pause command has no sense if those buttons have a pausing point. It could be useful if you posted a screenshot of the timeline.

Moreover, to be sure everything works right, disable a button before hiding, and enable after showing a button.

Sent from my iPad

RodWard
Community Expert
Community Expert
March 18, 2016

Check that your condition is set to AND and not OR.

You need to have the condition set so that ALL statements in the condition must be true (i.e. both of the variables must be set to 1, not just one of them) before the third button will be shown.