All you need are two triggers in the buttons - I set up the first button. And a slide trigger to reset the variable Totals if you want to reset it every time the slide is entered.
Hi Ari. I made the changes in the file I uploaded earlier. Works fine as far as I can tell. When I click the first checkbox the Totals variable increments; when I uncheck it it decrements. I only did the first check box, but you only need to copy my two triggers from the first check box button to the other two buttons and you should be done. Is something not working as you expect in the file I uploaded earlier?
The sound you hear is me repeatedly thudding my head against the desk. I found the error and it was entirely a user ( me ) issue. You would think on a 27 inch monitor it would be easier to see the difference between is and is not ;(
As always I'm in debt to the community.
thanks for everyone's help. The problem has been solved.
So along that line, is there a way to change the selected state of a checkbox to an x instead of a checkmark. I know i can do a custom shape but nice to use the built in buttons if available.
Back when we used to do a lot of Openscript coding in Toolbook, we would often talk to another developer about something we couldn't get to work right, and more often than not just describing the issue to the other person would magically reveal the solution with no input from the other person. We called it Openscript Therapy. :)
11 Replies
Here you go (file attached)...
All you need are two triggers in the buttons - I set up the first button. And a slide trigger to reset the variable Totals if you want to reset it every time the slide is entered.
Hope this helps.
Chris
chris, i was looking at that but was missing something when I was adapting it on my file. I wasn't sure if it had something to do with the layering.
Can you take a swing at it on the file I uploaded?
Hi Ari. I made the changes in the file I uploaded earlier. Works fine as far as I can tell. When I click the first checkbox the Totals variable increments; when I uncheck it it decrements. I only did the first check box, but you only need to copy my two triggers from the first check box button to the other two buttons and you should be done. Is something not working as you expect in the file I uploaded earlier?
Chris
Chris,
It works perfectly on your file, but when I copy the variables over to the one I uploaded it doesn't work.
I'm sure I'm missing something obvious, but can't figure it out.
Hi Ari
upload your updated .story file - will be easier for someone to help you if they can look at how you have setup Chris' example
Hello All,
The sound you hear is me repeatedly thudding my head against the desk. I found the error and it was entirely a user ( me ) issue. You would think on a 27 inch monitor it would be easier to see the difference between is and is not ;(
As always I'm in debt to the community.
thanks for everyone's help. The problem has been solved.
Note to Ari : put on a helmet during future testing! Have a good day and good luck with your project!
Thanks Wendy,
So along that line, is there a way to change the selected state of a checkbox to an x instead of a checkmark. I know i can do a custom shape but nice to use the built in buttons if available.
Put that helmet back on...it's a 'check'box - lol
- no sorry unless you use a button and not a built in checkbox - then you could fill the button with a X icon.
Wendy... i never took it off... :)
Back when we used to do a lot of Openscript coding in Toolbook, we would often talk to another developer about something we couldn't get to work right, and more often than not just describing the issue to the other person would magically reveal the solution with no input from the other person. We called it Openscript Therapy. :)
This discussion is closed. You can start a new discussion or contact Articulate Support.