State will not change back to normal from visited per variable
Nov 20, 2012
I seem to have a problem using variables to change the state of menu items. I have a menu at the start of my course with a button for each of five scenes. I an using states to with each menu button to change to visited when it has been visited. However, if the learner starts a scene but doesn't finish it, I want the menu button for that scene to change back to normal instead of showing it has been visited.
I set up a variable corrosponding to each menu item and set the initial value for false. The varible is triggered to change to true when the timeline starts on the very last slide of its corrosponding scene. I am using the variables also to show a layer with a change in a caption on the menu slide depending on if its the first time viewed (base layer) at least one scene has been viewed (return layer) or when all scenes have been played (finished layer) and that is working, so I know the variable is changing on the last slide to true. There are triggers on the menu slide to change the state of the menu buttons back to normal if the corresponding values are equal to false (the initial, unchanged value) But its not working that way - the state of the menu item is not changing back to normal if the learner navigates away from a scene before reaching the final slide which changes the variable to true. I have tried setting the triggers on the menu object or as slide triger. Neither way makes a difference. The state will not change to normal based on the variable.