I'm working with Actionscript 3 and I have a textInput component that's supposed to take an email address. This information is submitted onwards once the user presses a "send info" button. My question is: How do I set the textInput to only allow valid email adresses (that is something on the form "someone"@"somewhere"."something")?