Groups | Blog | Home
all groups > flash (macromedia) > august 2004 >

flash (macromedia) : Typewriter Effect


point4design
8/31/2004 10:34:47 PM
Does anyone have a good tutorial for a typewriter effect? In fact what I really
want to do is create a presentation that shows a user how to sign up and I want
to simulate filling out the form. What's the best approach at this? Thanks in
advance.
point4design
8/31/2004 11:11:52 PM
Jeckyl
9/1/2004 8:37:20 AM
script that builds up a string to display in a dynamic text field one letter
at a time is easiest and most flexible. set it so that it adds a new letter
every few frames.

Jeckyl
9/1/2004 9:34:13 AM
go to www.google.com and type in "typewriter effect actionscript" and search

you'll get lots of examples :)

point4design
9/1/2004 3:15:14 PM
I've started playing with one of the tutorials I found online but I've run into
a problem. If you look at the files I've attached you'll see what the problem
is when you get to the screen where I demonstrate filling out the form. Does
anyone have time to take a look at it and let me know what I'm doing wrong?
urami_
9/1/2004 3:39:56 PM


[quoted text, click to view]

I was just doing it for a news ticker... don't mind me pasting


TeksT = "The Fall and Rise of Jennifer Capriati remains\none of the truly uplifting stories in
sport. After\nseveral years in the wasteland of her teenage\nyears, she rallied to win three Grand
Slams in\na span of five during 2001-02. Today, at 28,\nCapriati still has star-quality, even if her
intensity\nseems to have waned.";

myArray = TeksT.split("");

Type = function() {
outPut.text = outPut.text + myArray[0];
myArray.splice(0,1);

}

Typing = setInterval(Type,50);


outPut is the dynamic text field Instance name and the \n between words stand for NEWLINE



Regards


urami_*

<hol>
http://flashfugitive.com/
</hol>


By The way:
If you try to mail me , DO NOT *laugh*
point4design
9/1/2004 4:23:52 PM
You all are going to get sick of me with all of my questions. Anyway, I have
the typing effect working now (Thank You!) but I have run into another problem.
I've added a replay button with the hopes that the user could review the
segment if they would like. But when I click the replay button there is a split
second where you can see the fields filled in before they reset and the
typewriter effect starts again. How could I fix it so that the fields are reset
when I click the replay button?
AddThis Social Bookmark Button