Shared Action not working and I don’t know why
February 9, 2023
Shared Action not working and I don’t know why
February 9, 2023

I have created a project with three content carousel slides, with four states being shown on each through button clicks. For the first one I am using two advanced actions (bk button and fwd button), and it works perfectly. I created shared actions (fwd button and bk button) based on this advanced action, gave them a unique name beginning with sa_ and tried to have the buttons execute these shared actions on the subsequent content carousel slides. Nothing happens other than a click sound and a brief state change when I click the fwd button (the bk button is disabled and set to alpha 20).

The second content carousel did work once but not any more since that time. The third carousel doesn’t do anything beyond allow you to clickt the fwd button.

All Comments
Sort by:  Most Recent
Mar 31, 2023
Mar 31, 2023

I got it figured out Lieve, thank you for your comments and the blog link. In the shared actions, I was using the same variable for all the carousels, so it was not ever getting back to zero for each appearance of the carousel. I just set the variable to be an adjustable parameter in the shared action and that took care of the problem.

Like
()
(1)
Mar 31, 2023
Mar 31, 2023
>
shanee98076946
's comment

That can easily be solved by a Reset action. I always emphasize this in all the trainings, webinars … I ever coached. Use the On Enter action of the slide with the carousel to reset the variable to its initial value. It is important to reuse variables, good practice.

Did you see my examples about tracking states? Have a look at:

https://blog.lilybiri.com/intro-to-tracking-states

I use the same variables for each slide… I needed more than 1 because I have up to 4 multistate objects. The workflows will be in videos, to be published soon.

Like
()
Mar 31, 2023
Mar 31, 2023

I got it figured out Lieve, thank you for your comments and the blog link. In the shared actions, I was using the same variable for all the carousels, so it was not ever getting back to zero for each appearance of the carousel. I just set the variable to be an adjustable parameter in the shared action and that took care of the problem.  I got my huge project finished just in time for deadline and now have trained two waves of trainees on the new curriculum. Now its time to evaluate and improve!

Like
()
Feb 20, 2023
Feb 20, 2023

Lieve is correct. Without knowing what you have done, it’s difficult to offer advice. I would advise checking out this tutorial and seeing how I would tackle a content carousel. https://youtu.be/ICWFM52vt0k

Like
(1)
(1)
Mar 31, 2023
Mar 31, 2023
>
Paul Wilson
's comment

I got it figured out Paul, thank you for your help. In the shared actions, I was using the same variable for all the carousels, so it was not ever getting back to zero for each appearance of the carousel. I just set the variable to be an adjustable parameter in the shared action and that took care of the problem.  I got my huge project finished just in time for deadline and now have trained two waves of trainees on the new curriculum. Now its time to evaluate and improve!

Like
()