Forum Discussion

NancyWoinoski's avatar
NancyWoinoski
Super Hero
12 years ago

How do I change state on button when lightbox viewed

Hi, I have a text object on my first screen that opens a lightbox when clicked. I have 3 states on the text (normal, hover and then a custom state called Done what is supposed to display a checkmark beside the text when triggered).

I don't want the Done state to change until the viewer has gone through all the content in the lightbox.

I created a true/false variable called introDone and set the initial value to False.

I added a trigger to the last layer in the lightbox slide to change the variable to true when the timeline starts.

I put another variable on the slide with the textbox to change the state of the textbox to Done when the timeline starts if introDone = true.

It is all very well and good except that it doesn't work - has anyone managed to get this to work? If so, can you share your solution.

15 Replies