Password masking Question

I have a quick question, i have a input text box called password and its variable is inputName. How could i make it so that when users log in on my flash site that it appears as “*****,” if anyone could give me any ideas or some code that would helpa ton.