I’m using the below AS but it just doesn’t seem to be working…
Looks like the actionscript referencing is OK it just seems to be getting stuck on the / in the result_product calculation.
Let me know if this needs further explanation. I’d have no problem posting the source fla
function onCalculate() {
one = Number(number_one);
two = Number(number_two);
three = Number(number_three);
four = Number(number_four);
ten = Number(number_ten);
eleven = Number(number_eleven);
twelve = Number(number_twelve);
thirteen = Number(number_thirteen);
result_sum = one + two + three + four;
result_product = ((one * ten) + (two * twelve) + (three * thirteen) + (four * fourteen)) / (one + two + three + four);
}