Lightbox, Variables, and States
Oct 25, 2013
Hello Everyone, I am going to test your knowledge since I am scratching my head on this problem.
I have a slide in scene 7.1, the slide is a series of buttons that open lightbox pop up pages that are housed in another scene (16.1 - 16.12) The lightbox is set up so you can scroll through the deffinitions in the light box so you do not have to keep going back to the parent layer (7.1) To see each of the 12 items the user needs to view.
I set up the buttons in slide 7.1 with two states. I then set a boolian variable for each button and when the timeline starts on 16.1-16.12 the variable is chanigng from false to true. Slide 7.1 is waiting for a variable change which changes the state.
The problem I am having is that it seems that when the variable in the light box changes on slides 16.1-16.12 the state is not chagning on the variable change on slide 7.1
Does anyone know how I can overcome this problem?
Thanks
6 Replies
Hi Thomas are you able to upload your story so we can see the problem and try to help fix it? How is the variable set up on the main slide? If it relies on the timeline to be restarted maybe thats your issue.
Joe
Thomas, the 'When variable changes' trigger on your slide 7.1 only fires if the change happens ON THIS SLIDE; it won't fire if the variable is changed by a trigger on another slide (in your case 16.1-16.12 ).
You need to add another trigger to slide 7.1 to change the state on the button when the timeline starts if the variable is true.
Hi Thomas! Looks like you are getting some great assistance here, just let us know if you need anything further.
Thanks for all of your thoughts everyone. It looks like I will need to not use the light box functionality and move my slides onto slide layers. I have the variable set that changes the state on timeline start, but because the timeline has already started before the light box opens, when the lightbox closes the timeline does nto start.
Leslie, it would be nice if there was some kind of constant listening for variable changes on slides. That would make the lightbox feature work a whole lot better.
Thanks Again.
Thomas
Hi Thomas! Please submit that thought to our developers via feature request here.
This discussion is closed. You can start a new discussion or contact Articulate Support.