variables and tabs discrepencies
Oct 08, 2015
Ok, I'm unable to share this as it is client sensitive:
I have a slide with 3 tabs on it.
the slide has a number variable on it to match the scene and slide number, let's say it's scene 1, slide 1
the variable is:
scene_1
The slide has a custom forward arrow, which should only appear once the state of all 3 tabs are changed to visited, using the variable.
The triggers are as follows:
Change state of "arrow.png" to Normal
When slide_1 changes
if slide_1 is equal to 1.00
Under the 1st tab only:
Set slide_1 equal to 1.00
When the state of tab_1 "rectangle1" and tab_2 "rectangle2" and tab3 "rectangle3" are Visited
If slide_1 is Less than 1.00
The issue is, while this works on other slides, there are 2 slides where the forward arrow will appear after clicking on only 1 of the tabs. I've checked over the variables, orders and so on, and done comparisons between the working and non working slides, and cannot figure out why it would do this. Any thoughts?
Thanks!
9 Replies
Hi Ian,
Why not make things easier by relying on the variable you've created. Try adding a trigger to each tab by saying:
Adjust variable Scene_1
To Add 1
When user clicks "Tab #"
On condition
tab# shape == normal or tab# shape =! visited
Then have a layer called "Arrow" (Duplicated across all 3 tabs), with the arrow visible on there and a trigger to show it:
Show layer "Arrow"
When Variable Changes
On condition
scene_1 == 3
As a back up to assure that its going to reset when restarting the course (if its wanted), on the page before you could add another trigger saying;
Adjust variable scene_1
to 0 when timeline starts
I couldnt quite grasp whether the tabs were on the same page or if they were split across 3 scenes, but that should work either way.
Hope this could help somewhat.
J
Hi, Ian -- Looks like Jarryd has some suggestion here for you to try that just might do the trick! Please let us know if you still need additional input when you have a moment. :)
Thank you for the quick response! The tabs are all on 1 slide, I'll give that a go and let you know.
Awesome, Ian! Hope you are all set, but please don't hesitate to let us know if there is anything more you need. :)
Ok great! the T/F variables work! Only issue I'm having now is that the visited state of an image on the tab is not remaining. When I click on the tab, the image changes to visited state, but as soon as I close the layer or slide associated with that tab it resumes normal state. Any clues?
Make a mockup of what the exact problem is and post it here. Someone will be able to help you.
Hi Ian,
i'd agree with Walt's recommendation here - also what do you mean by closing the slide? Like you've left the slide to go somewhere else. Have you looked at the slide properties to confirm it's set up to "resume saved state"?
this was resolved, thanks all :)
Fantastic news, Ian! Thanks so much for sharing an update and glad to hear you are all set. :)
This discussion is closed. You can start a new discussion or contact Articulate Support.