# Typewriter right to left by Xeef. Help please

**URL:** https://forum.kirupa.com/t/typewriter-right-to-left-by-xeef-help-please/78178
**Category:** flash
**Created:** [February 2, 2005, 6:47pm UTC](https://forum.kirupa.com/t/typewriter-right-to-left-by-xeef-help-please/78178 "2005-02-02T18:47:03Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mx\_guest2004](https://avatars.discourse-cdn.com/v4/letter/m/e47c2d/32.png) [@mx\_guest2004](https://forum.kirupa.com/u/mx_guest2004)
#### Post date: [February 2, 2005, 6:47pm UTC](https://forum.kirupa.com/t/typewriter-right-to-left-by-xeef-help-please/78178/1 "2005-02-02T18:47:03Z")

</div>

Hi,  
I got a code written by Xeef sometimes ago for typwriter effect from right to left. It works for single lines. Dose anybody seen or know about such code for multiline typewriter effect? The problem is how line breaks and goes to the line under.  
One can manage with multiple dynamic text boxes, but I chose to ask about a smarter way.  
The code:  
[AS]  
txt = “Hallo this is a Test”;  
a = txt.length;  
function type() {  
qq = " ";  
for (b=0; b\<a+1; b++) {  
qq += " ";  
}  
abc = qq+txt.substr(a, txt.length-a);  
a–;  
if (a == 0) {  
a = txt.length;  
}  
};  
setInterval(type,100)  
[/AS]

Thanks 🙂

* * *

Regards,  
mx-guest2004
