Using a variable to show a layer

Jun 12, 2013

I would like for a layer to show after the user has clicked a hotspot at the end of a screen recording completed using Storyline.  I have a variable set to change to True once the user clicks the hotspot in the screen recording(Try it mode).  The variable does change, but the layer does not show after the lightbox closes.

The trigger I have set is Show layer Quiz when tryit changes.  I used a reference variable to make sure it tryit changes from false to true.  It does.

Any suggestion?

10 Replies
Daniel Brigham

Sheri:

I think I get it, but just to make sure you might want to upload a screenshot, particularly important would be the triggers panel on the right. You might try moving the "show layer Quiz" trigger up (i.e. have it be the first trigger in the list). Sometimes ordering of triggers makes a big difference.

Donna Morvan

Hello Sheri,

Did you add a trigger to show layer once the variable is set to true?

In your case,  you have to add a trigger on the main slide that says, show layer "title of layer you want to show" when Timeline starts of main slide when "variable = true"

Hope this helps. Let me know if you have questions.


Donna

Sheri Nelson

Hey Donna,

I did that and it still didn't show the layer.  I did notice that the timeline doesn't restart when the lightbox closes.  I changed the show layer trigger to 'Show layer Quiz when variable changes if tryit is equal to True'

That didn't work either.  I may just have to come up with another idea.  I am trying to create this:

When the user completes the Try It mode of the screen recording by clicking the logout hotspot, a layer will show asking them if they are ready for the quiz.  They can either click no to go back to the current slide or yes and be taken to the quiz.

Thanks!

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