PDA

View Full Version : Making text appear to be typed


jeffcravener
01-12-2003, 02:05 PM
how do you make static text appear to be typed during the movie, so one letter comes in at a time?

(also, can it be done with dynamic text?)

DiDi
01-12-2003, 02:41 PM
Check this:


http://www.actionscript.org/tutorials/beginner/Scripted_Typerwriter/index.shtml

jeffcravener
01-12-2003, 04:44 PM
it works ALMOST perfectly....

How do i get the text box to grow with the letters...I have this but it does not work:

if (q < text.length) {
textbox.width = textbox.width + 50;
textbox = text.substring(0, q);
q++;
} else {
textbox.width = text.length;
textbox = text;
gotoAndStop(1);
}