Input Text Length

Hi,

I’m building a small Flash app in which users will enter a promotion code and will submit that to a server… well… there’s more to it than that… but that’s what I am here about…

Anyways, I wanted to activate a button when a user has typed in the full 10 digit promo code… that is, after 10 characters are entered into my input box, the submit button becomes visible…

Is there any way to do this?

Thank you

–D