How to ad a recurring on/off button on ALL slides?

Oct 15, 2014


Working on a mandatory course for our entire company here (so for 2300 employees)...which means I'm making something for people who breathe IT-projects and people who don't have a clue how to work with it. And I want to please both.

In order to help the people who have a hard time working with IT-products I want to show visual tips for them. But for most people I think these tips will be annoying as hell (at least, I would hate them ). So the learner should be able to turn them off.

I did the following:

1) I made two images of an on/off button, one turned on and one turned off. Both are initially hidden on the slide.

2) I added a variable (vbutton) with an initial state of '1' (could have used true or false, but went with numeric)

3) Added triggers to all the slides: vbutton = 0 then change OFF to normal state; vbutton = 1 then change ON to normal.

4) Added triggers so that if you click on an ON button, it would hide the ON button, change the OFF button to normal and set vbutton to '0'. And if you click on the OFF button, it would hide the OFF button, change the ON button to normal and set vbutton to '1'.

5) Added slide triggers that would change the ON state to normal if vbutton is '1' and to OFF if vbutton is '0' at the start of the timeline.

6) Added the visual help objects to all slides and set them to 'hidden' states.

7) Added triggers that if vbutton = 1, then change state to normal at the start of the timeline.

Okay, so far so good. It works! I have a working ON/OFF button! And the cool thing is it carries over to the next slides.


It's not perfect yet, far from it. The problem is the "revisiting" of slides. So I am on slide A and I click on the on/off button to turn it off. Then I click on an object to go to slide B. On slide B the button is now off (as determined by the triggers and variables). Let's say I click on the button to turn the visual help ON. 

But if I go back to slide A, the  button is turned off, because it resumes the saved state. Argh!

Now I could reset the slide back to its initial state, but I don't really want that because I have added checkmarks to all parts the learners have finished (with 10 different routes starting on a slide, that is a nice reminder for the learner). 

So I am a bit stuck now. Does anybody has experience with such a button and these types of triggers and variables? I REALLY hope I can get this working, so I can please both groups.



4 Replies
Marijn Bierhof

Thanks Phil! I have are the triggers for the slides:

Picture 17 & 18 are the pictures for the on/off button. Picture 17 is the OFF version and picture 18 is the ON version.

And here are the triggers for the buttons themselves:

This is the trigger for the ON button. So the button is hidden, the OFF button appears and the variable is toggled to 0.

This discussion is closed. You can start a new discussion or contact Articulate Support.