cavolaccio non riesco a farlo andare!!! come mai...
questo e lo script:
This function check if an email is valid or not.
This is not a perfect check but as you know there's no way to be sure if an email address is really correct or not.
// EXAMPLE:
// mail_txt is instance name of input text
mail_txt.restrict = "0-9a-z_@.\\-";
// submit_btn is instance name of a button to check mail_txt.text
submit_btn.onPress = function() {
if( checkMail( mail_txt.text ) ) {
trace( "MAIL: OK" );
}
else {
trace( "MAIL: ERROR" );
}
}
come faccio ad addattarlo per me?
ho provato a fare come dice lui...