Issue with variable! Can you take a look at the story file?
Apr 06, 2017
Hi, there!
I'm having an issue with a variable. The custom Previous/Next arrows only appear at the end of each slide. To make the arrows visible from the beginning the second time the user visits the slide, I set variables named "SlideXPlayed". I'm attaching the two slides I'm having issues with. I created a trigger that adds value to the "Slide1Played" when the second slide finishes (this way I ensure that the variable changes when the user has completed Slide 1 and started Slide 2). In slide 1, I set another trigger to show a layer with the Prev/Next buttons only if "Slide1Played" value is greater than or equal to 1. But apparently for some reason this is not working!
Can you help me? I've worked a lot of times with this procedure but cannot figure out what's wrong.
Thanks!
8 Replies
Hi Pamela,
unfortunately I can´t open the file (only SL2 user) but why do you use a number variable? A true/false variable would make it easier I think and maybe would work better.
Try to set the slide visited variable of slide 1 to true when user clicks on next button of slide. Maybe this fixes already your problem. I created a little file for you see attachment. :)
Greetings,
Susi
Hi Pamela
toggle the visibility icon on the base layer and it will work. I would recommend you use a T/F variable instead of the number variable
It's not working for me, I guess I'm missing something. I want the layer to appear at the beginning of the first slide (See attached) the second this it is visited.
Hi Pamela,
Do you have an updated copy of your .story file with the changes you made based on Susi and Wendy's suggestions? It's likely something small but best if we could see what you have and offer an idea from there!
Hi Ashley,
Here's the story file with the changes, and it's still not working...I replaced the number variable for a TRUE/FALSE variable and toggled the base layer's visibility.
Hi Pam
couple of things I found;
On slide 1.2 the variable is set to trigger to false instead of true
The layer is showing but the issue is the ovals > and < are set to display on the timeline at 68 secs. I tested by putting a shape on the layer and changed the above trigger and it's working and the layer displays
Video attached - hope this helps
How didn't I see that? haha thanks a lot Wendy!!
Sometimes you just need another pair of eyes, glad Wendy was able to take a look!
This discussion is closed. You can start a new discussion or contact Articulate Support.