# Text typewriter effect wont work in DW

**URL:** <https://forum.kirupa.com/t/text-typewriter-effect-wont-work-in-dw/34073>\
**Category:** flash\
**Created:** [October 27, 2003, 8:43pm UTC](https://forum.kirupa.com/t/text-typewriter-effect-wont-work-in-dw/34073 "2003-10-27T20:43:39Z")\
**Posts on this page:** 6\
**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, 8:43pm UTC](https://forum.kirupa.com/t/text-typewriter-effect-wont-work-in-dw/34073/1 "2003-10-27T20:43:39Z")

</div>

Its me again

Im using this AS code to have a typwriter effect. it works fine on flashplayer but when i put the flash file in Dreamweaver it plays the movie ok but does not show the text. Heres the code wood someone be kind enough to see whats wrong with it.  
Thanks:-\

this.texto = “hola, que tal hermosa?”;  
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++;  
}

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 27, 2003, 10:23pm UTC](https://forum.kirupa.com/t/text-typewriter-effect-wont-work-in-dw/34073/2 "2003-10-27T22:23:26Z")

</div>

we need some more information about your setup. You have some stuff missing in your code… for example… I dont see where you’re calling your function (escribe).

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 27, 2003, 11:03pm UTC](https://forum.kirupa.com/t/text-typewriter-effect-wont-work-in-dw/34073/3 "2003-10-27T23:03:59Z")

</div>

Its like this i have a main.swf page. in the main.swf page i have a masked area which loads in movie1.swf which when clicked on a button it loads, this text typer efect is on movie1.swf. it all works fine on flash player but when in dreamweaver it loads the movie1.swf onto the main.swf ok but when it comes to the text typing effect nothing happens.

i hope this will help u understand a bit more

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 28, 2003, 5:52am UTC](https://forum.kirupa.com/t/text-typewriter-effect-wont-work-in-dw/34073/4 "2003-10-28T05:52:08Z")

</div>

[http://www.macromedia.com/support/flash/ts/documents/mask\_device\_fonts.htm](http://www.macromedia.com/support/flash/ts/documents/mask_device_fonts.htm)

[http://www.macromedia.com/support/flash/ts/documents/maskprintembed.htm](http://www.macromedia.com/support/flash/ts/documents/maskprintembed.htm)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 28, 2003, 10:28am UTC](https://forum.kirupa.com/t/text-typewriter-effect-wont-work-in-dw/34073/5 "2003-10-28T10:28:38Z")

</div>

Thanks kode the problem was that the font needed to be enbed for it to work

Thanks

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 28, 2003, 8:02pm UTC](https://forum.kirupa.com/t/text-typewriter-effect-wont-work-in-dw/34073/6 "2003-10-28T20:02:11Z")

</div>

You’re welcome. 😛

Please search before posting next time, you’d have found the answer in a minute. 😉
