mercoledì 23 luglio 2014

Testo scorrevole

Se volete creare un testo scorrevole, potete farlo con pochissime righe di codice.
Predente un elemento di testo, come ad esempio un field.  Metteteci dentro un testo lungo a piacere e inserite il seguente codice:



repeat for 100 times
   put the text of field testo into temp
   put char 1 of temp after temp
   delete char 1 of temp
   set the text field testo to temp
   wait 0.1 sec
end repeat



Chiaramente sta a voi decidere cosa attivi questo evento, quante volte ripeterlo e così via.

Nessun commento:

Posta un commento