Copy link to clipboard
Copied
Hello!
I'm putting together a small point-and-click activity where users need to identify specific areas of a UI, and their total out of 9 is displayed as they select the proper sections of the UI. I have 9 click boxes identifying 9 areas of the UI, and when each click box is selected, it increments a variable by 1, plays a WAV file, and is supposed to disable that click box so it can't be selected multiple times, quickly raising the score to 9. It seems to work on some of the click boxes, but not all of them.
I'm using Captivate 8.0.2.266
Here are some screen shots to show what I've been doing. The scripts are the same for each click box, just the identifiers are changing.



In this case, "CommandManager" is the id of this particular click box.
Any suggestions? Comments? Complaints?
Thanks!
Copy link to clipboard
Copied
Since you tell it is working for some, not for others, I was wondering if you don't create problems by names. Don't you use reserved keywords as names? Some of the names are very close, and I don't see them all. Are you sure not to have a name used twice even for totally different items, actions, decisions?
I would certainly have used Shared actions in this case, but that is off topic. I just tried it out, in a responsive project, and disabling worked OK but the incrementing not at all, it concatenated the number 1. However I am only on 8.0.1.242, could never get hold of your version.
I cannot find the 9 click boxes, are you sure there is no overlapping?
Totally foolproof, and allowing to click more than one time on a click box, would be to associate a different variable with each click box. But your setup should work perfectly, I have created the same scenario many times. I just made some suggestions, but not sure at all what is going wrong in your case.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now