salve a tutti, ho questo codice che fa scrivere del testo:
stop();
// inizializzazione variabili
i = 0;
// velocità battitura
speed = 28;
// testo da battere
str = ""
str += "bLA bLA"+newline;
str += ""+newline;
str += "bLA bLA."+newline;
str += ""+newline;
setInterval(scrive, speed, str);
// funzione che scrive il testo nell'areaTesto
function scrive(str) {
i++;
testo = substring(str, 0, i);
output = testo;
if (output == str) {
type.stop();
} else {
type.start();
}
}
come faccio a dirgli quando hai finito di scriverlo passa al fotogramma n°.... ????
GRazie !!!