Io avrei pensato ad una cosa del tipo:
fai un copia-incolla per vederne l'effetto.codice:TextField.prototype.horizontalScroll = function(delay) { clearInterval(this.ID_hs); this.hscroll = (this.hscroll < this.maxhscroll) ? this.hscroll+1 : 0; this.ID_hs = setInterval(this, "horizontalScroll", delay, delay); updateAfterEvent(); }; //-------------------------------------------- _root.createTextField("tf",1,30,30,100,20); spazi = " "; testo = "questo è il testo da scrollare orizzontalmente"; tf.text = spazi + testo + spazi; tf.horizontalScroll(30);

Rispondi quotando