# AS Help with the speed

**URL:** <https://forum.kirupa.com/t/as-help-with-the-speed/93207>\
**Category:** Uncategorized\
**Created:** [October 27, 2003, 5:23pm UTC](https://forum.kirupa.com/t/as-help-with-the-speed/93207 "2003-10-27T17:23:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![robbie\_star](https://avatars.discourse-cdn.com/v4/letter/r/ee7513/32.png) [@robbie\_star](https://forum.kirupa.com/u/robbie_star)\
**Post date:** [October 27, 2003, 5:23pm UTC](https://forum.kirupa.com/t/as-help-with-the-speed/93207/1 "2003-10-27T17:23:24Z")

</div>

Hi guys

I need some with this AS code it is for a typewriter effect. it works well but where in the code can i make it type faster (speed).

Thanks:geek:

this.texto = “hola, que tal hermosas?”;  
this.letraIndex = 0;  
this.letras\_array = [];  
this.typeID = setInterval(this, “escribe”, 100);  
this.escribe = function(){  
var letraAEscribir = this.texto.charAt(this.letraIndex);  
//this.letras\_array.push(letraAEscribir);  
//var textoAEscribir = myString.concat(this.letras\_array);  
this.textBox.text += letraAEscribir;  
this.letraIndex++;  
}
