I can’t get this work properly.There are three input text fields on stage with [COLOR=Magenta]var called entry1, entry2, and total[/COLOR]. When user enter the numbers in entry1 and entry2 input box and click the button, it will populate the total. The problem it gives me a **NaN **instead an actual number. How to fix the script?
function totalNum() {
_root.total = Number(_root.entry1) + Number(_root.entry2);
}
Thanks