HELP! Mobile Phone Coding

Im trying to create a replica mobile phone in flash, but i need help so that when you press the bttons come up on screen, the numbers follow each other. When i do it, they always replace the previous one. Any suggestions??