Need another set of eyes to look this over.

Dec 05, 2016

I'm having issues getting this to work. What I'm trying to do is once each yellow rectangle goes to the hidden state the rectangle variable adds "1" and once all 3 are hidden the variable should equal 3 and the Next button, which is first hidden, should change to the Normal state on the main slide.

What is happening is the first two rectangle that become hidden adds "2" each time to the variable and on the first rectangle it will add "1" to the variable.

I'm not sure what is going on. Please help.

7 Replies
Walt Hamilton

Adam,

Part of your problem is using the condition "If state is Normal". Several of the built-in states report that they are normal. Usually using "if state is not = Visited or Selected" will work.

If you use a visited state instead of Selected, you don't need to create your own triggers.

I suggest adding to the variable when the oval is clicked, but I added if the state of the oval is not visited. That keeps the count accurate if the user visits a layer twice.

When the layer is closed, I put a trigger to make the next button visible.

I changed the modified layer, but only the ovals. You need to add the trigger to change the state of the oval to visited when the rectangle is clicked, and also the trigger to add to the variable if you want the user to be able to click either (and you should allow them to click both.)

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