A very stupid question but

How do you make a flash movie where you press a button and a number (lts say three) appears in a text field?