getting state change to work

I have a slide that contains a document with 12 errors. The student clicks on the areas to see if they can find the errors (a layer will display with yes or no feedback). I also have a counter button that will tell them how many errors they have found so far (variable that adds +1 for each correct click).

My problem is, if they click the same error again, I want a different layer to show and for it to not count toward the variable. I know it must be a simple error, but I can't seem to figure it out. Here is an example of one transparent object:

  1. Change state of Rectangle 1 to Visited when the user clicks.
  2. Show layer found error when the user clicks if rectange 1's state is equal to Normal.
  3. Add 1.00 to COI1 when the user clicks if rectangle 1's state is equal to Normal.
  4. Show layer already found when the user clicks if rectangles 1's state is equal to Visited.

I'm not able to get the Visited state to kick-in. Every time I click the rectangle, it adds to my variable and shows the orginal correct layer (I did create a visited state for the rectangle).

Thanks for any help!

4 Replies
Barbara Smothers

In case anyone else has this problem, I was able to solve through trial and error. Final trigger listing for the object is as follows:

  1. Add 1.00 to COI1 (my variable) when the user clicks if rectangle 1's (my transparent shape) state is not equal to Visited.
  2. Show layer found error when the user clicks if rectangle 1's state is equal to Normal.
  3. Show layer already found when the user clicks if rectangle 1's state is equal to Visited.
  4. Change state of Rectangle 1 to Visited when the user clicks.