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
Jarryd Cunningham

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

This discussion is closed. You can start a new discussion or contact Articulate Support.