Skip to main content
Patrick2569329038nu
Participating Frequently
March 10, 2023
Question

Captivate 2019 Assign Values not WOrking

  • March 10, 2023
  • 2 replies
  • 1235 views

So this is my first foray into using Assign Values, and I might be missing something.

I have 5 buttons that lead to 5 slides I want the viewer to visit. I built an advanced action that takes them to the slide, changes the button color to visit state, and assigns a value (one for each button) to 1.

Then I have another advanced action set to look for each of the 5 values and if they all equal 1, to show an exit button. But the exit button never shows.

 

I know that the rest of the advanced action is working. The color changes and we go to the slides. And I know that if I change the conditional from "If all are true" to "If any are true" then the button always shows up after I visit the first of the 5 slides.

 

Am I missing something with the "If all are true"

Advnaced actions shown below.

This topic has been closed for replies.

2 replies

TLCMediaDesign
Inspiring
March 10, 2023

Where are these action being triggered? When I do something like this, I have the click actions on the first tab of the advanced action on then on the next tab I put the conditional evaluation for what was clicked. 

Patrick2569329038nu
Participating Frequently
March 10, 2023

The main goal is to trigger a Show action of 5 differnt buttons, once they have visited all 5 slides.

Instead of tabs I have two different advanced actions. One that goes to new slide, changes visited color, and assigns the value.

And one that looks for the value and shows the exit buttons.

Lilybiri
Brainiac
March 10, 2023

OK our comments crossed.

This cannot be done with only two actions, you need an action for each of the buttons (hence my reference to a shared action) and another one which will probably be triggered by the On Enter event of the main slide.

Have a look at:

https://blog.lilybiri.com/tips-and-tricks-advanced-to-shared-action-intermediate

 

Patrick2569329038nu
Participating Frequently
March 10, 2023

Edit: I changed the values to "3" not "1". I checked all valus and they are all assigning the value of 3, not 1

 

Lilybiri
Brainiac
March 10, 2023

Please show a screenshot of the Advanced Interaction panel (F9) to identify the events which are triggering the actions. 

BTW: a button has also an InBuilt state 'Visited', it could be easier to create that state which will appear automatically when the button has been clicked. Instead of an extra Highlight... Be sure to activate the 'Retain State when...'.

You show only one action where I expected to see a shared action which can be used for the 5 buttons, or at least duplicate actions. It is the reason I am asking for the Advanced Interaction panel.

Patrick2569329038nu
Participating Frequently
March 10, 2023