States of buttons change before I want it to

Dec 16, 2013

Hi all,

This is my first post in this forum, hopefully you can help me.

I've attached the project that I'm struggling with. The second slide has 14 buttons, which are supposed to change from red to green once you've gone through the scene connected to the button. You go through the scene and then come back to slide 2, and that's when the button should be green instead of red. 

For button 1 and 2 this works fine, but the others buttons change color when you click them the first time! I'm not sure how this happened, because as far as I can see, all the triggers are the same. 

I've made true/false variables to keep track of whether someone has gone through the scenes. The buttons are set to change state if variable xyz is true.

Looking forward to your suggestions!

Many thanks,

Elsbeth 

4 Replies
Michael Hinze

This is because you are using the built-in Visited state of the buttons to track completion. This state is triggered when a button is clicked. You could delete all the triggers on slide 2 and variables and the buttons would still show the visited state. If you truly want to check the completion of each section and then indicate that on slide 2, I suggest you create a custom state (e.g. "Completed") for each of the 14 buttons and then adjust your slide triggers so that the Completed state is only shown if variable xyz is true. Hope that makes sense.

Michael Hinze

Elsbeth, actually I was wondering what you meant by your comment about the first two buttons working differently. When I ran your file, they worked like the other ones (maybe I'm missing something here). Also, I now had a second look at your file and noticed that on slide 2 you have triggers for each of the 14 buttons that change the state of button_xyz to 'Hover' when the user hovers the mouse over. Just like "Visited', 'Hover' is a built-in state that will be triggered automatically when the mouse is over the button. You can delete all these triggers and it will still work

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