Need help changing the state of a button
Jun 25, 2012
Hi -
I have an interaction comprised of several layers. Navigation is on the left side of the bottom layer with the slide content appearing on the right. I created a new state, "completed", for each nav button as a visual indication to the student that the associated layer has been viewed. This is working well with the exception of the layer shown in the attached image that includes a series of tabs. Ultimately, there will be 6 tabs and students must click on all 6 before the state of the health history button will change. I added a trigger to the health history layer to change the state of the health history button when the state of all tabs is visited, but that didn't work so I tried doing the same on the bottom (nav) layer. I don't have the option on that layer to select objects from other layers, however. Do I need to use variables instead? When the state of all tabs is visited students will be presented with a series of questions.
Thanks!
9 Replies
Could you post your story file? Someone here may pick it up and offer some help if they can see things.
I have a button/trigger question as well. I have a slide which links to other slides. It has five triggers on it which lead the student to other scenes. The last slide in each scene return the student to the original slide. This is a branching attempt to allow students to navigate their way through the training in whichever order they wish to do so. My problem is when all five scenes have been viewed, the original slide will not advance to the next slide. How do I set the parameters to automatically advance after all triggers have been clicked on?
In another area, I have managed to prevent the studnet from advancing the training from a single slide without first viewing all the buttons on the slide, but once the last button state is changed, the slide automatically advances to the next slide without allowing the student to view the piece of training that final button was attached too?
I changed the player setting to advance upon student clicking the next button after all states were changed, but the slide still automatically advances before the student can click the next button.
Sure thing! The file is attached. It's the health history layer on the first slide that's giving me trouble. :(
Is this what you are trying to get to?
cultural-v2.story
I wasn't sure how you wanted the questions to appear so I added a button that moved to a slide with them once all the layers have been visited.
I'd use buttons to move to the next slide in these cases. The button does not appear until the conditions have been met.
In the case of the branching to other scenes, I'd use variables to denote that the scenes had been viewed.
Wow, I'm overwhelmed by the quick response!!!!! That's not quite it, though. I'm trying to get the state of the Health History button to change to completed only after both tabs on the health history layer are clicked. That's the logic that I'm missing. I've tried adding a trigger to the health history layer as shown, but it doesn't work. Thanks for the button that displays when the layers have been visited....you saved me a step!
Like this?
cultural-v4.story
Wow - crazy day yesterday. Gerry, I had just downloaded and published your v4 file when the tornado warning sounded and we had to leave our offices for the safety of the stairwell. All I could think on the way downstairs was that I hadn't thanked you for the time and effort that you spent to solve my problem. Now that the storm has passed and power has been restored you have my most heartfelt thanks. This is exactly what I had hoped to accomplish, and now I can move forward with the rest of the project. It is truly a privilege to be part of such an amazing community. I am so very appreciative!!!!!!
Glad it worked for you. Yes, this is an amazing community. Lots and lots of great people willing to help other users and learn in the process. :)
This discussion is closed. You can start a new discussion or contact Articulate Support.