Need help on scoring

[font=Comic Sans MS]I need help on my flash game. I’m making a clicking game. But when i click on a button it says NAN. This is what i typed on the button.[/font]

 
on (release) {
 _root.total = _root.total + 15;
}


Some one help plz.