Hello, I have been using states to disable and re-enable buttons once other states of objects have been 'visited' etc. However is it possible to do this same thing but after all Slide Layers have been viewed? The layers are being activated by a Hotspot in this case.
yes it is possible - are the layers being viewed in a specific order or any order - perhaps you could share the slide so we can see your setup and offer a solution
Hey Timothy. Thanks for sharing your file! The most reliable way of doing this is using variables to track whether the learner has visited each layer. Here's what I did:
First, I set the initial state of your continue button to Disabled. Next, I created a variable for each layer, and added triggers to adjust them to True when the timeline of each layer starts:
Now I need the continue button to change to Normal when all of the layers have been visited. I'm assuming that you don't care what order the learner sees the layers. Also, each layer's content remains visible when showing other layers.
So, I added a trigger to each hotspot to change the state of the continue button to Normal with conditions: IF the value of the other 3 layers' variables is True. I have to add this to each hotspot because I don't know the order the learner will view the layers.
If the other 3 layer variables are true, and if you're showing the fourth layer by clicking the hotspot, the learner will have seen all of the layers. The continue button can then be activated.
Have a look at your attached file with modifications. Does that help?
I took what Crystal gave me and tried to take it one step futher.
Hotspot functions
show layer 'view all' when clicked
disappear/move off Next/Continue button when state of that button changes to 'Normal'
The code I have attached below seems correct to me but it's not doing as it should?! If I take away the code to move the Hotspot it shows the layer as it should. Once it's in there is does not show the layer?
Instead of using the motion path to move the hotspot, you could keep the hotspot to help jump to the next slide.
What I did was add a trigger to:
Jump the next slide when the user clicks the hotspot, on the condition that the Next button is equal to Normal
I also added a custom state to your next button that is a duplicate of the disabled state. As with the initial change of the trigger mentioned it was advancing to the next slide. I'm still testing to figure out why but wanted to offer a quick solution that accomplished your needs.
8 Replies
Hi Timothy
yes it is possible - are the layers being viewed in a specific order or any order - perhaps you could share the slide so we can see your setup and offer a solution
Hey Wendy,
Thanks for replying so fast. I've attached the slide project for your viewing.
Hey Timothy. Thanks for sharing your file! The most reliable way of doing this is using variables to track whether the learner has visited each layer. Here's what I did:
First, I set the initial state of your continue button to Disabled. Next, I created a variable for each layer, and added triggers to adjust them to True when the timeline of each layer starts:
Now I need the continue button to change to Normal when all of the layers have been visited. I'm assuming that you don't care what order the learner sees the layers. Also, each layer's content remains visible when showing other layers.
So, I added a trigger to each hotspot to change the state of the continue button to Normal with conditions: IF the value of the other 3 layers' variables is True. I have to add this to each hotspot because I don't know the order the learner will view the layers.
If the other 3 layer variables are true, and if you're showing the fourth layer by clicking the hotspot, the learner will have seen all of the layers. The continue button can then be activated.
Have a look at your attached file with modifications. Does that help?
Hi Timothy,
sorry I missed your reply - thanks for Crystal jumping in...All the best with your project.
Thanks so much Crystal that is perfect and teaches me alot!
Really appreciate all the help and encouragement too Wendy.
Take care
Hey guys,
I took what Crystal gave me and tried to take it one step futher.
Hotspot functions
The code I have attached below seems correct to me but it's not doing as it should?!
If I take away the code to move the Hotspot it shows the layer as it should. Once it's in there is does not show the layer?
Hi Timothy,
Instead of using the motion path to move the hotspot, you could keep the hotspot to help jump to the next slide.
What I did was add a trigger to:
I also added a custom state to your next button that is a duplicate of the disabled state. As with the initial change of the trigger mentioned it was advancing to the next slide. I'm still testing to figure out why but wanted to offer a quick solution that accomplished your needs.
Thanks Ashley!
That works how I want it to now. Shame that the code seemed correct the other way but didn't execute. Hope you can find out why!
T
This discussion is closed. You can start a new discussion or contact Articulate Support.