Question
CS3 Risk Calculator (AS2)
So I have been working on a calculator to help me calculate
medical risks for patients. This will ultimately be a small part of
a larger calculator, but I need to get this working first. I have
an interface which has a drop-down for a Vessel Diameter. And there
are also checkboxes to account for additional risks. What I want to
do is have a "Total Risk" box dynamically reflect the changes from
the drop-down and the clicking of the checkboxes.
So far, I have assigned a boolean value to the checkboxes, as well as a data value. The drop-down box has values as well (including a multiplier). But with the event listeners applied to each, the text doesn't update dynamically, and if you uncheck a checkbox, the "Total" does not reflect that change. How can I write a string to add all of these Variables together?
I finally got to a point where I could make sense and ask a somewhat intelligent question now. Still an actionscript noob, so be kind =). Any assistance would be greatly appreciated!!!!
Thank you all!
Pete~
So far, I have assigned a boolean value to the checkboxes, as well as a data value. The drop-down box has values as well (including a multiplier). But with the event listeners applied to each, the text doesn't update dynamically, and if you uncheck a checkbox, the "Total" does not reflect that change. How can I write a string to add all of these Variables together?
I finally got to a point where I could make sense and ask a somewhat intelligent question now. Still an actionscript noob, so be kind =). Any assistance would be greatly appreciated!!!!
Thank you all!
Pete~