Variable and Trigger Failure
Nov 04, 2014
By
Ellen W.
Hello,
I have set up a variable that will adjust and add 1 each time the timeline starts on a new layer. Once the variable is greater than or equal to 4 I need a state change trigger for the continue button.
- Base Layer- Continue button (change state of button to hidden when the timeline starts). Change state of continue button to normal if the variable to greater than or equal to 4.
- Layer 1- Adjust variable add one when the timeline starts
- Layer 2- Adjust variable add one when the timeline starts
- Layer 3- Adjust variable add one when the timeline starts
- Layer 4- Adjust variable add one when the timeline starts IF 6 markers are visited.
All of the buttons and markers have the necessary states available. I have deleted all the variables and triggers and reset everything up three times and I cannot get the continue button to change to normal. So the user will get stuck on this slide.
Any help that can be offered would be greatly appreciated!
Ellen
8 Replies
Hi Ellen
the trigger for the Continue button, you don't need that to start with...go to the States panel and select the initial state for the button to be 'hidden'. See if that helps
Hi Ellen, have you considered using a visited state of each of the base layer buttons to fire the variable instead of timeline based?
Also if you have a common viewing area across all layers you could try a temp text box with %YourVariableName% in it to watch the the progress of the variable during the interaction.
Hope this helps.
Cheers,
Mark
Hi Ellen,
I'd created a demo a while back with a similar question about the default next button, so I just switched it out a bit with a custom Continue button instead. Perhaps it will help to get a look at this. This is in SL1, since I'm not sure which version you're using.
I've included variable references on each layer and shapes indicating which layer you're on to make it easier to see the "mechanics."
Please shout out with any questions.
Wendy your solution worked! Thank you so much! There wasn't an a default option for hidden in the states, but I added one and deleted the trigger and that fixed the issue!
Thank you everyone for the replies! I really appreciate the help! Rebecca I took a look at your example, I got some ideas on how to perform certain functions more efficiently in the future!
Awesome! Glad that you got some assistance here and thanks for popping in with an update for everyone.
Ellen, I"m glad it's all working for you. I did want to point out that the default option is there (or should be), but you need to click the drop-down arrow beside "initial state" to see it. It's not, as you stated, listed in the "states row" so to speak.
Thanks Becky for the image...I was on the fly when I answered Ellen yesterday and couldn't get a screengrab.
As I've said before, "takes a village" ..errr....ummm...a community ;)
This discussion is closed. You can start a new discussion or contact Articulate Support.