Problems with numbers

I’m working with a Flash course where the user will be typing amounts in textfields. For the moment the numbers are presented for example like this: 1000.

My question is if there’s a way to put a space between 1 and 000 so that the amount will look like this: 1 000.

Is it possible?