Help with "Visited" state change after layer shown
Jul 19, 2015
Hello,
I am working on a slide where I have 3 buttons that can be clicked. Once a button is click it shows a layer, when that layer is closed you are returned to the base layer. I would like the button that was clicked to change the state to "visited", but I can't get it to work. I have added the trigger, but it seems that once returning to the base layer, the slide has forgotten that the button was clicked? Is this an order issue? Does anyone have any ideas? I also have the state change for "hover" for each button as well.
Thanks for any help!
6 Replies
Hi Jacqueline
see attached sample file based on what you have said above. It's sometimes hard to say what's wrong without seeing your .story file.
See how you go and if you need more help - upload your file.
Hi Wendy,
Thanks for your quick response! Your example is exactly what I want to accomplish! However, I don't see how you got the buttons to change to the visited state? I thought you have to set a trigger to change a state, and I don't see how you did this?! Could you explain?
I also attached the slide I'm trying to work on if that helps?!
Once I master this skill... :) ....the next step I want to add is that the "Next" button only appears once all 3 layers have been visited. Do you also know how to do that? Do I need to incorporate variables?
Thanks for any advise!
Hi Jacqueiline
I'm just about to board a flight so will be offline for a few hours and can't look at your file but...
To answer Q1 - SL has built states with functions so as long as the button, object, shape or whatever you are using has that state it will know what to do - you don't need to trigger the state to change.
q2. Set your next button to disabled or hidden with a trigger when timeline starts in the base slide you are on then Your trigger to get to the next slide after all have been visited would be; jump to slide xx when user clicks next button when state of Button 1 is visited AND button 2 is visited AND button 3 is visited.
one thing you need to be careful of is the order of your triggers - so if something isn't working correctly check the trigger order.
hope this helps otherwise perhaps a hero will jump in and help you.
Thank you, thank you, thank you!!! That is what I didn't understand! I was adding predefined SL states and then adding triggers on top of that!
Classic over-triggering mistake ;)
Thanks so much for your help!!!
Have a great flight!
So glad you got it working - good luck with your project.
Glad that Wendy was able to assist you here Jacqueline. Thanks for the update.
This discussion is closed. You can start a new discussion or contact Articulate Support.