Ho applicato la funzione sulla timeline ma anche se metto la mail perfetta mi porta sempre nella sezione "errato"....posto il codice qui...

Codice PHP:
ffunction checkMailmail ) {
    var 
mailSplitted mail.split"@" );
    if( 
mailSplitted.length == && 
       
mailSplitted[0].length && 
       
mailSplitted[1].length ) {
        var 
subSplitted mailSplitted[1].split"." );
        if( 
subSplitted.length >= ) {
            var 
subPrefix = new String"" );
            for( var 
subSplitted.length 2>= 0a-- ) {
                
subPrefix += subSplitted[a];
            }
            if( 
subPrefix.length ) {
                
subPrefix = new StringsubSplittedsubSplitted.length ] );
                if( 
subPrefix.length && subPrefix.length ) {
                    return 
truegotoAndPlay("corretto");

                }
            }
        }
    }
    return 
falsegotoAndPlay("errato");


} { 
sul bottone ho messo
Codice PHP:
on (release) {
    if (
email ne "" ) {
        
gotoAndPlay("corretto");
        
loadVariablesNum("inserisci_mail.asp"0"POST");
    } else {
        
gotoAndPlay("errato");
    }
} { 
????