Simple Dynamic Text Problem

Hey guys,

I’m new to the Kirupa forums, so hey :slight_smile: x
I’m working on a small flash based game called “Nini” and so far everything’s going great. Till I hit a snag. Basically, I have a dynamic text field with the var of “total”. I have also put text in this with the number “0”. Then, I have a small button (blue rabbit) that has the following code:

on (release) { = + 10;

So, the total value in the dynamic text field should change from 0, to 10, and every time it’s pressed increase by 10 correct? Then why after three presses of the button do I get:

rather than…

This is really beginning to bug me, if anyone could help me out, that would be great.
I have published the problem to an swf and html: