Ho questo script:
onClipEvent (load) {
stringa = "abcdefghilmnopqrstuvxyzABCDEFGHILMNOPQRSTUVXYZ,.? !";
lett = new Array();
for (a=0; a<stringa.length; a++) {
lett[a] = stringa.substr(a, 1);
}
stringa2 = "Smart solutions in filtration";
scrit = new Array();
for (a=0; a<stringa2.length; a++) {
scrit[a] = stringa2.substr(a, 1);
}
numlet = lett.length;
numscrit = scrit.length;
intervallo = 1500;
//intervallo prima della composizione della frase
posx = 150;
for (i=0; i<numscrit; i++) {
_root.attachMovie("mc_testo", "testo"+i, 10+i);
_root["testo"+i]._x = posx;
_root["testo"+i]._y = 648;
_root["testo"+i].testo = lett[random(numlet)];
posx += _root["testo"+i]._width;
}
timer = getTimer();
j = 0;
}
onClipEvent (enterFrame) {
if (intervallo+timer>getTimer()) {
for (i=j; i<numscrit; i++) {
_root["testo"+i].testo = lett[random(numlet)];
}
} else {
_root["testo"+j].testo = scrit[j];
j++;
timer = getTimer();
intervallo = 50;
}
}
la frase che compare con questo effetto ha le lettere molto distanti fra loro, come posso farle avvicinare, in maniera che abbiano tutte la stessa distanza?
grazie per l'aiuto

Rispondi quotando