This is a very simple way to create a typewriter effect. Both text, and typing speed are dynamically loaded from an external .txt file.
Tutorial Details:
stilva.com | complex simplicity
ABOUT
I'll be adding few things about me, my work and all that, as soon as possible.
Recent News
Layout v2.2005
Layout v1 2005
Layout updated to v7.2
Layout v7.1
Stilva v7
Recent tutorials
Smooth Scrollbar
Snow effect with wind
Drop-Down Menu
Typewriter effect
Color Masking
Typewriter effect
November 4th, 2004
Typewriter effect with dynamic text
This is a very simple way to create a typewriter effect. Both text, and typing speed are dynamically loaded from an external .txt file.
Please note that the code has been updated on the 11th of May 2005
1.
Create a new Flash document, set its size to 300×300.
2.
In the First frame put in this script:
loadVariables("texteffect.txt","");
3.
Right click on the Second frame, and Insert a Blank Key Frame.
Insert this following code in the second frame:
if (loaded != "yes") {
gotoAndPlay(1);
}
4.
Right click on the Third frame, and Insert Blank Key Frame.
With the Text tool , draw a rectangle, and set it properties to Dynamic Text ,
and set its variable to
texteffect .
Then set the ?Line Type? to Multiline. And set the font style you want the effect to use.
note : If you select the ?render text as HTML? button, you?ll be able to incorporate a link in this typewriting effect by using HTML tage in the txt file. see step 6
5.
In the Third frame put this script:
stop();
var i = 0;
texteffect = "";
function textwritter() {
texteffect = txt.slice(0, i);
i++;
if (texteffect.length == txt.length) {
clearInterval(intervalID);
}
}
var intervalID = setInterval(textwritter, speed);
Your layer should look similar to this:
6.
Now we need to make the text file that will contain the text, and the variable that will determine the typing speed. Make a text file and name it: texteffect.txt, put the following lines in the text file, then save the text file in the same directory as the .swf file
note : loadVariables (step 1) is the script that loads the information from the txt file.
&loaded=yes&
//Please do not edit this line.
&speed=50&
//The variable ?speed? is actually the interval time in ms.
//Therefore the greater ?speed? is, the slower the typing speed will be.
&txt=Type your text here.&
note :Type the text you want to apply the typewritter effect to between: ?&txt=? and ?&?
note : If you have selected the ?render as HTML? (step 4) and that you want to add a link in this effect, just write something similar to this: ?&txt= Click here &?
Now you?re done, just run the swf file and you shall get this effect right away.
Then, you can modify the speed. (located in the text file.)
108 Responses to ?Typewriter effect?
rafael parra November 25th, 2004 at 5:54 pm
Very interesting. I am a beginner and cannot follow all the instructions. My suggestion: add the typical ?click? sound of electrical (and, specially, mechanical typewriters).
threat November 26th, 2004 at 3:41 pm
where dose the txt we make go?
Admin November 26th, 2004 at 4:05 pm
Type your text in the .txt file in between ?&txt=? and ?&?
gr November 27th, 2004 at 10:13 am
hey were am i supposed to put the scripts in?
Admin November 27th, 2004 at 10:20 am
There are three scripts.
The first script is the one specified in the 2nd step, which is to be past in the first frame.
The second script is the one specified in the 3rd step, which is to be past in the second frame.
The Third script is the one specified in the 5th step, which is to be past in the third frame.
hope it helps.
PS. if you want I can send you the .fla
james November 29th, 2004 at 12:37 pm
i just got the program and don?t know anything so i was just wondering where i type the scripts at?
Admin November 30th, 2004 at 12:25 am
Hello,
james, if you need the .fla please e-mail me at admin[@]stilva[.]com
thanks
franneh November 30th, 2004 at 7:47 pm
ehh, where does the script on step #6 go? right after the script on #5 in frame 3??
Admin November 30th, 2004 at 9:55 pm
That?s the content of the text file texteffect.txt .
Sorry for all the troubles.
Now it should all be clear, as I updated the 6th step.
threat December 1st, 2004 at 10:56 am
yeah.. how dose it know where to load the texteffect.txt from??
KaME December 2nd, 2004 at 1:49 pm
I tried the tutorial but it does not display the text. Instead it show me ?finish? in the output in a loop. How to i resolve this? I?m using Flash MX
6 December 2nd, 2004 at 4:17 pm
hey, i followed the instruction but im not sure what ive done wrong,
just keeps coming up..
finished
finished
finished
finished
Admin December 2nd, 2004 at 11:48 pm
Hey y?all. Sorry for the dealy, not only that my mail server is down, but my internet connection was gone for the last two days.
@threat: At the second step, the loadvariables is actually loading the variables that are in the txt file.
As for KaME, and 6, it would be great if you two could send me your .flas as I?m a bit busy,/ that would be much easier for me.
thanks and again, sorry for the delay
Jerry December 3rd, 2004 at 1:32 am
Same ?finished? looping problem usng the instructions you give (cut & pasted from your page). Played around with the code a bit complaining about some of the array properties being undefined??? New to Flash/Actionscript so any suggestions?
Admin December 3rd, 2004 at 9:02 am
Hey,
sorry guys, but now I know what?s going wrong in Flash MX.
I rectified the script of the 5th step. I tested it in Flash MX, so it should work for you guys aswell.
thanks
Kevin December 3rd, 2004 at 12:59 pm
What was the rectification for the script in the 5th step for Flash MX?
thank ya
Admin December 3rd, 2004 at 2:40 pm
hey Kevin.
I changed the declaration of the array from this:
var my_array:Array = new Array();
to this:
var my_array = new Array();
The first one was for Flash MX2004 only, and the second one works in Flash MX.
hope it helps, and works
kevin s. December 3rd, 2004 at 4:33 pm
I can only get this to work if I have it on the root timeline. I would like to embed it in a movieclip, but it doesn?t seem to work. Any suggestions?
Admin December 3rd, 2004 at 4:49 pm
Do every step of this tutorial in a movie Clip. I just gave it a try and it worked.
To be more specific, do the first step, then go to Insert -> New Symbol -> Movie Clip, and follow the tutorial.
then don?t forget to drag&drop the movie clip on the _root of the Flash Movie, and it should work.
if you can?t make it to work properly just drop a line
hope it helps
Martins December 9th, 2004 at 8:17 pm
I would like to figure out how to make this text typing loop?
It types only one time and stops.. any suggestions?
Admin December 9th, 2004 at 9:56 pm
Sorry to all Flash MX users as there was one more compatibility issue. I rectified it, and tested it, and there shouldn?t be anymore compatibility issues
As for Martins? question yes I have a suggestion.
First, go to the script of the step 5 , and add this following script between line 12 and 15:
finished = true;
And at the end of the script on the step 5 , add these lines:
this.watch("finished", replay);
function replay() {
finished = false;
i = 0;
texteffect = "";
texteffect2 = "";
my_array = "";
gotoAndPlay(1);
}
note : as this uses Objects this script will only work in Flash Player 6 and newer, so if you need an other way to make this effect loop that would work in older flash players, just ask for it
hope it help
mark December 18th, 2004 at 2:22 pm
hey, i have regular mx, can i get the .fla and the .txt files from you because i can?t seem to get them to work
bob December 18th, 2004 at 2:38 pm
how do you make a text file, is it in like word, or is it in flash?
Admin December 18th, 2004 at 3:04 pm
Hello,
bob and mark I sent you both a .txt file and .fla file.
Bob, use a text editor such as notepad there should be other great and free text editor out there
hope it helps
venix December 19th, 2004 at 5:24 am
hey i made this tutorial in flash mx 2004 the only question i have where i put the texteffect.txt so is be shown while i play the flash doc? thanks sorry with my english
Admin December 19th, 2004 at 9:54 pm
hey venix,
if you followed all the instructions the txt file should be in the same folder as the .swf
Please note that the texteffect.txt file could be placed anywhere you want as long as the:
loadVariables("texteffect.txt","");
correctly points to the textfile
hope it helps.
chris December 20th, 2004 at 8:43 am
i did all your steps, then i put step 6 coding in a simpletext document and saved it as texteffect.txt. then when i tested the movie, the ?output? box popped up and said:
Error opening URL ?texteffect.txt?
im a begginer and for school i have to make a project, so please return asap! thank you
Admin December 20th, 2004 at 9:06 am
hey chris,
I sent you the .fla and .txt files
if you need anymore help send me an email
mark December 20th, 2004 at 11:36 am
hey, i never received the files. can you please send me the .fla and .txt files again. sorry for the inconvenience.
John December 21st, 2004 at 8:31 am
Hi, works great but wondered how it can be expanded to included HTML rendered text?
For instance, I might want an HTML link inside the text. Can it be done?
Thanks,
-J
Admin December 21st, 2004 at 8:48 am
hello,
mark> I sent you the files did you get them?
john> yes it can be done.
Select the Dynamic text box you made on step 4, and click on the button that says ?Render text as HTML?. See step 4.
hope it helps.
Matt December 22nd, 2004 at 5:47 am
wanted to know if there is a way to use a certain font with this?
Admin December 22nd, 2004 at 9:58 am
hello,
yes there surely is a way.
I specified it in step 4.
colorville December 22nd, 2004 at 1:09 pm
Would your .fla and .txt work on a Mac with sistem 10.3 ?
If yes , would you be so nice to sen it to me too ?
Merry Christmas to everybody ! It is my first time here and I?ll be back often !
:-)
Admin December 22nd, 2004 at 1:20 pm
yes I suppose it will?
I?ll send you both .fla and .txt
colorville December 23rd, 2004 at 1:44 pm
OK. I made it !
Now I only have a problem ?.
Can you tell me how to make the letters
? , ? , ? (with accent) to show correctly ?
if you can tel me where to find a complete list of accents , points etc. I wold be really happy (I have been looking for it long time).
I want to tell you that your tutorial seems working much better than many ?expensive? components I tried , where if inserting long text everything gets messed up !
I still have to add the ?loop? ?. If I can get it working too , and can make the right accents , I got my
Christmass Present !!!!
Admin December 23rd, 2004 at 2:56 pm
Hey,
For the accents there shouldn?t be any problem. Just make sure that your flash movie is using a font that can render those letters, and that your text file is encoded in UTF-8.
As for the loop have a look at this comment.
hope it helps
colorville December 23rd, 2004 at 3:20 pm
Thank you for your fast reply (the best forum I found) .
Loop is working, but start too fast and it is impossible to read the end of the text !
Is there any way to make the text stop for a few seconds before to loop ?
And , is there any way to regulate the speed of the effect ?
Concerning the accent , I made a .txt file with Text Edit (didn?t work if made with Microsoft Word 2004 , don?t know why) , but I don?t know how to find out how it is encoded or how to change it ? Anyway , I will try some other text editor.
The font I used is Arial.
Thank you again !
colorville December 23rd, 2004 at 3:46 pm
Sorry , I wrote before asking how to fix the speed and to make it staying few seconds before looping . I solved !
The only thing I really can not fix it is the problem with Accents on the letters? If anyone knows how to make it , I really need it.
(Funny , I can not even see the letter with accents that I wrote on my previous post . I only see ?,?,?,
Must be a problem with my stupid Italian language , full of useless accents?.)
Thank you
Admin December 23rd, 2004 at 3:52 pm
Hello,
I?ll send you a .txt file with couple of accents in it.
Let me know how it goes.
Thiago January 4th, 2005 at 6:05 am
i?m with the same problem that colorville is having. I wrote the text file with NOTEPAD but it doesn?t work with accents. it?s not the font. the letters just desapier, for an example gr?ficos appears as grcos, it?s missing the letter F. please help me!
thanks!
Admin January 4th, 2005 at 8:46 am
hello Thiago, colorville resolved his problem with the .txt file I sent him, so I?ll do the same for you.
Let me know how it goes.
Thiago January 4th, 2005 at 10:22 am
I solved my problem? it was just use ?save as?? and then change the document encoding. but now I can?t see the movie with the font I selected. it just work with device fonts?
thanx!
Admin January 4th, 2005 at 10:59 am
hey thiago, did you try using this ?
myTextFormat = new TextFormat();
myTextFormat.size = 10pt;
texteffect.setTextFormat(myTextFormat);
more info here
hope it helps
vax January 4th, 2005 at 3:59 pm
Thank you !
it?s very interesting.
Faust721 January 11th, 2005 at 3:04 am
If possible, I would like a copy of the .fla and .txt files for this. I cant seem to get it to work.
designhousemedia January 12th, 2005 at 1:21 am
How do I make the typrwriter scroll through a bundle of text?
I want to say serveral items, like a news flasher on single lines.
Does anyone know how to to thi?
Skip January 12th, 2005 at 1:59 pm
Hi, I also am having problems with the ?finished? error at ther end of the tested movie. I am using FlashMX and I copied and pasted your code, then looked through the posts to find the fixes, but I guess I missed one.
Could I get the fla file to compare differences? Thanks!
youngslyfr January 13th, 2005 at 2:47 am
Question I done the whole typewriter project and it worked fine, to my surprise ( I tried some b4 and did not succeded) my question is. If I wanted to incorporate this typerwriter effect onto a Flash webpage?how would I go about it. I know how to create stuff but when it comes time to put it all together on one page it is a mistery. Thanks a bunch )
ani January 15th, 2005 at 2:30 am
Hello,
thank you Admin for the nice tutorial! I make it and it works, I just erase the line with ? trace(?finish?); ?
Admin January 15th, 2005 at 8:07 am
@ designhousemedia, Skip I replied to both of you by e-mail.
@ yougslyfr, incorporate this typewriter effect in a movieclip instead of the root timeline. please have a look at comment 18, and 19
hope it helps
dc January 18th, 2005 at 10:50 am
Hi can I please get the fla. and the txt file. Thanks! =)
Mark January 20th, 2005 at 3:22 pm
I am having problems getting the script to write multiple lines. I type in what I want and only the first line shows up. Can you help?
Admin January 20th, 2005 at 3:34 pm
Mark > please have a look at the 4th step and see if you set the type line to ?multiline?
Gunnar January 25th, 2005 at 8:42 pm
This is a great script - but is it possible to read multiple lines of text one after another.
Admin January 25th, 2005 at 10:38 pm
hey Gunnar,
yeah that?s possible, just type in the .txt file the text as you want it to show up.
your txt file should look like this:
&loaded=yes&
&speed=50&
&txt=first line
second line
third line.&
also make sure you set the line type to multiline.
hope it helps
Matthew Jewell January 29th, 2005 at 1:51 am
Hey, I must?ve mussed summit up, because when I export/preveiw the .fla and it ends up looking like this
help is ?preciated, oh and if you could reply via emal that?d be awesome jewell@theinstitution1.com
iceman84 January 29th, 2005 at 4:59 am
HI,
I am using Flash MX 2004. I am able to read from .txt file but it give this output: []and[].
I fixed this by removing this part in the .txt file:
?&txt=? and ?&?
Then my text would display normally.
Hope this helps others
taky January 30th, 2005 at 12:50 am
Hi,
Great tutorial, I had been messing around in flash for days to figure out how to get this effect, finally stumbled on this site, very easy this way, cause the way i had done it in flash, took me hours to just get one line displaying in typewriter effect.
Thanks
Flipper January 30th, 2005 at 2:57 am
Admin, hi.Can you send me the .fla
Admin January 30th, 2005 at 1:16 pm
@Matthew Jewell I sent you an e-mail but got a ?mail delivery failed?, send me an email from a working email address so that I can help you, thanks
@iceman84 thanks for sharing I appreciate that.
@taky thanks for the kind words
@Flipper , I just did.
hope it helps
Neelam February 1st, 2005 at 3:20 am
hi,
i followed all your steps above and i used notepad for step 6.i also named the file texteffect.txt and saved it too but on testing the movie i get the following message.
error opening URL? texteffect.txt?
i don?t really understand what to do and i am lost.could you please send me the .txt file.that would be really great.
thanx again.
matt February 2nd, 2005 at 6:15 pm
wow, looks like a mess of problems, how about you just make the changes in the tuturial
Admin February 2nd, 2005 at 6:51 pm
@matt : yeah, I just updated the tutorial.
sorry guys, I?ve been busy lately.
If I have time this week, I?ll be able to finish the mp3 tutorial, and the photo gallery one.
and matt, I?ll debug before I publish it .
again sorry for all that. thanks for visiting
Kim Larsen February 5th, 2005 at 4:15 am
Hey, great piece?only one small problem.
I got this nice effect and want to have it write a link?lets say www.great.com but i dont get a link only the text What do i have to do to make the text a link?
Regards
Admin February 5th, 2005 at 9:12 am
@kim larsen yeah that?s possible.
see step 4, I updated the tutorial
hope it helps
Jared February 7th, 2005 at 10:19 am
I am trying to use your texteffect in mx2004 and follow the tutorial so far but have a question: I was wondering how it could be used or if? to load different text info when a button is clicked? I have a about 15 or so buttons and need each one to load a different discription of a picture? Is this possible? Thanks?
Admin February 8th, 2005 at 3:28 pm
@ Jared : hey, sorry for the late reply, I was busy?
Otherwise, yes that?s possible, and here?s a solution (I?ll assume that you followed my tutorial, and that you have it working).
Let?s start with the texteffect.txt file, just try to make it look like this:
&loaded=yes&
&speed=50&
&txt1=Type your text here.&
&txt2=Type your second text here.&
&txt3=Third text here.&
&txt4=keep on like this.&
Now with flash:
Go to the third frame and at the end of the code you already entered (cf. step 5 ), enter this code:
function multitxt(j) {
txt = this["txt"+j];
i = 0;
texteffect = "";
texteffect2 = "";
my_array = "";
gotoAndPlay(1);
}
and add this code to all the buttons you add:
_root.multitxt(1)
// if the number is set to 1, then txt1 will be loaded.
hope it helps
Colter February 8th, 2005 at 7:37 pm
When I pess enter in the text file to have it type on a new line - it skips a line in my swf file each time. Is there a way to make it not do this?
margaret February 9th, 2005 at 12:20 am
Hello- I am trying to complete this tutorial but it seems as though the directions were cut short. What are we supposed to do with the text file? All the instructions said was to make a text file but they do not say how to connect the .txt document with the flash movie. Please add on to your directions because they are incomplete! Thank you.
Admin February 9th, 2005 at 5:35 pm
@ Colter :Please use HTML tags in the txt file rather than directly using carriage returns. first you must allow HTML tags. cf. step 4.
@ margaret :I updated the tutorial. hope it helps
Anthony February 10th, 2005 at 1:31 pm
To Admin,
I wanted to let you know how much i liked your script and how simple and great it makes text look. Have you ever seen www.group94.com ? They use an intersting text effect. If you go to their projects section you can see what I mean. The effect is rather fast so its hard to tell how they are breaking the text down and putting it back together but I was curious if you have any idea on how they did it.
Thanks a lot for the script it really is awesome,
AJ
Silvia February 14th, 2005 at 1:33 am
Hi, I have used your texteffect and I love it, BUT I have one question and I`ve tried fixing this problem myself only I am out of ideas and can?t figure out the problem. In my animation I have 2 separate lines of text, one under the other, the first line types out perfectly but when the second one is about to type out it types out the exact same line as the above one! Can you help???
Thanks!
Admin February 14th, 2005 at 7:17 am
@Anthony I?lll get back to you later on that one.
@Silvia Allow the HTML tags (step #4), then in the txt file use
Zoran February 21st, 2005 at 7:27 am
Thanks for the tutorial, everything is clear and implementation was smooth. Is there any way to make text scrool for longer text files? Someone else mentioned typewriter sound, how easy/hard is to add that to script?
Thanks?
farfadet February 24th, 2005 at 7:46 pm
Hello, your effect?s great but I have 1 problem.
I want to go on with other layered animation after the type writer effect (in fact the typewriter effect begin the animation then it?s going on with my logo animation.)
I try to put the code in a movie clip as you say before but it didn?t work. It seems like the text file ?s not loaded or founded.
What can I do please
Stephen March 8th, 2005 at 5:45 am
Hi Admin
Can you mail me the .fla and .txt please? one question tho once i have got this can i then jst copy the three frames into another .fla?
Cheers
Steve
Jimmy March 8th, 2005 at 11:45 am
Very good tutorial
Admin March 8th, 2005 at 10:34 pm
@ Stephen, I?ll send you a .fla with the effect in a movie clip. this way you?ll just need to drop the mc where you want the effect. I think that in a previous comment I explained it.
Jimmy March 11th, 2005 at 6:39 am
Hi, How do I do If I want to write 3 lines using the same text and the same textfile???
Harmony Sparks March 12th, 2005 at 4:08 pm
Great tutorial. Very clear directions. I?d like to have a series of pages appear with the typewriter effect. So, now, there?s one screen with the typewriter effect. I?d like it so that when the text is finished, it goes to a new blank screen and the next set of text appears. The idea is that it?s a series of memos that are being typed and read real-time over the course of several screens. Help greatly appreciated! Harmony Sparks
Admin March 13th, 2005 at 10:12 pm
@ Jimmy: Just go to the line in the txt file and it should do the trick.
&txt= first line
second line
third line
if it?s not what you want send me an email. thanks
@ Harmony Sparks: Alright, just follow the following steps.
Replace the code on the second frame with this one (step #3):
if (loaded != "yes") {
gotoAndPlay(1);
} else {
j = (j == undefined) ? 1 : j+1;
}
Then, replace the code on the third frame (step #5):
stop();
var i = 0;
texteffect = "";
texteffect2 = "";
var my_array = eval("txt"+j).split("");
function textwritter() {
texteffect2 = texteffect;
texteffect = my_array[i];
texteffect = texteffect2+texteffect;
if (i+1i++;
} else {
clearInterval(intervalID);
if (j != 2) {
//2 is the number of txt you want to display
_root.i = 0;
_root.texteffect = "";
_root.texteffect2 = "";
_root.my_array = "";
gotoAndPlay(1);
}
//else{
//j=1;
//}
//if you want the effect to loop uncomment the previous three lines
//otherwise just delete them
}
}
var intervalID = setInterval(textwritter, speed);
Then the last thing you need to do is to modify your .txt file.
Your txt file should look like this:
&loaded=yes&
//Please do not edit this line.
&speed=50&
//The variable ?speed? is actually the interval time in ms.
//Therefore the greater ?speed? is, the slower the typing speed will be.
&txt1=Type your first text here.&
&txt2=Type your second text here.&
&txt3=Type your third text here.&
Homer March 14th, 2005 at 1:58 pm
This site helps me a lot, because my school doesn?t provide me with the training that you offer.
Michael April 7th, 2005 at 6:25 am
thanks very much!!!
great tutorial, it just worked fine.
greetz
aurelie April 12th, 2005 at 12:19 am
hi there.
great tutorial and much simpler than most!
just one or two litte questions:
how can i i have a cursor that blinks behind of each letterwhen it appears?
and also, i need to make tha animation a quicktime or image sequences to import in after effects, is there a way i can achieve the ssame eefect without an external .txt file?thanks a lot, for your tutorial and for the reply
Admin April 12th, 2005 at 11:17 am
hello,
@ aurelie :follow the tutorial, then do the following steps:
Delete the first frame. (You should now have only two frames.)
In the first frame replace the action script with this one:
txt="put your text here, blahblahblah";
speed=60;
In the second frame replace the action script with this one:
stop();
var i = 0;
texteffect = "";
texteffect2 = "";
var my_array = txt.split("");
function textwritter() {
ar = texteffect.split(" |");
texteffect2 = ar[0];
texteffect = my_array[i];
texteffect = texteffect2+texteffect+" |";
if (i+1i++;
} else {
clearInterval(intervalID);
ar = texteffect.split(" |");
texteffect = ar[0];
}
}
var intervalID = setInterval(textwritter, speed);
hope it helps
Seth April 14th, 2005 at 1:40 am
Great tutorial. I?m still new to this, and I?ve gotten everything to work right. I?m wondering how to make the txt2 show up later on in the animation, and txt3 later on. I don?t want to have to use 700 frames, so is there a way I can have it stop on the frames, and then if finished with the text (after ample time to read it) goto the next one and stop, and so on? Thanks.
Admin April 14th, 2005 at 9:54 am
Please have a look at this .
But instead use this code:
stop();
var i = 0;
texteffect = "";
texteffect2 = "";
var my_array = eval("txt"+j).split("");
function textwriter() {
texteffect2 = texteffect;
texteffect = my_array[i];
texteffect = texteffect2+texteffect;
if (i+1i++;
} else {
clearInterval(intervalID);
if (j != 3) {
//3 is the number of txt you want to display
intID = setInterval(wait, 3000);
//this means that the text will stay there for 3000ms
}
//else{
//j=1;
//}
//if you want the effect to loop uncomment the previous three lines
//otherwise just delete them
}
}
function wait() {
clearInterval(intID);
_root.i = 0;
_root.texteffect = "";
_root.texteffect2 = "";
_root.my_array = "";
gotoAndPlay(1);
}
var intervalID = setInterval(textwriter, speed);
keenlio April 20th, 2005 at 1:03 pm
My screen is 630 x 88. I set the typing to full the screen area, after that will proceed next frame. How i going to call next frame after it finished type? Coz the third action script call a function stop();
Need help on this:)
Thank you
Admin April 20th, 2005 at 1:20 pm
Hello,
@ Keenlio:
You?ll just need to modify the action script on the third frame (step #5)
Simply add a
GotoAndStop();
or something similar, just before line 13:
clearInterval(intervalID);
hope it helps
keenlio April 20th, 2005 at 1:25 pm
Wao!! Amazing it works. Million thank to you
gr3g May 3rd, 2005 at 7:49 am
hey kan you mail me the .fla thnx?????..
Allen Buenaventura May 3rd, 2005 at 9:43 am
I?m in dire need of your help again my friend. You helped me awhile back with a type writing effect on my flash site. But this time I?m trying to place a mailto function and it doesn?t seem to be working my way at all. Could you lend some insight on what exactly I can do to make it work. Enclosed is the fla. File. The button that has the mail too function is ?Contact Us:? Any help you can give would be greatly appreciated, thanks again.
-Allen
thesmu May 30th, 2005 at 10:56 pm
hi there,
i used the tutorial and it worked great? just wondering how i can have multiple pages on my site with this effect on them. i tried making a ?texteffect2.txt? file and changing the box on flash accordingly but this didnt seem to work?.
many thanks,
sxx
Jody May 31st, 2005 at 2:41 pm
Hey you are a very helpful person. I have really appreciated this tutorial and all the useable advice and code you have been helping us with.
Thanks very much
Jody May 31st, 2005 at 6:19 pm
Hi
Is it possible to include another text field at the same time that writes from another text variable in the same .txt file?
So you could have a Header formated differently font colour and size etc. The subtext would type in another style.
Both the heading and the content would type on. So the .txt file might look like this
&loaded=yes&
&speed=50&
&txt=My main body content blah blah blah &
&header=My Title&
Thanks for all you have done anyway
Admin June 1st, 2005 at 7:31 am
@ thesmu : you can have a txt1, txt2, txt3, in your .txt file instead.
You?ll have to modify the code a bit though: (line 5 and 7)
from
texteffect = txt.slice(0, i);
i++;
if (texteffect.length == txt.length) {
to:
texteffect = txt2.slice(0, i);
i++;
if (texteffect.length == txt2.length) {
hope it helps. if any trouble contact me:admin at stilva dot com
@ Jody : yest it?s possible, but if you don?t want the two text to type out at the same time you could use HTML tags in the text file. (CSS or Font which ever you prefer)
Have a look at the picture on step #4, there?s a button to enable HTML tags. conatct me at admin at stilva dot com if you want further help
thesmu June 1st, 2005 at 8:51 am
thank you very much!
Kiwi June 11th, 2005 at 12:11 am
Great tut!
Karl Dammer June 25th, 2005 at 10:40 am
Nice tutorial thanks.
Im wondering about formatting. I want a typewriter effect but so far I have been unable to get one where I can make fomats like Underline, Bold, Italics.
Is this possible, to do in yours?
Thanks
Admin June 25th, 2005 at 10:47 am
@ Karl Dammer : yes that?s possible.
Have a look at the step #4 and make sure you enabled HTML tags in your txt box.
then you?ll just need to use some html tags in your .txt file to get a bold text, underlined text etc.
hope it helps.
F2X July 4th, 2005 at 9:01 am
Man I newer saw a site where admin is so friendly and helpfull!
8) ! It s a werry cool site! I hope it will stay like it! Well my did not! Sorry for any blows in the language!
MrO August 3rd, 2005 at 10:35 pm
Had no problems replicating this code. Works a treat. Good job!!
chris September 1st, 2005 at 8:48 pm
No problems with this code.
A top job, thanks!
Roopz September 25th, 2005 at 12:00 am
g8 job keep up the good wrk!
xray spex October 2nd, 2005 at 4:35 am
thanks - works a treat
crazykarma October 21st, 2005 at 6:03 pm
waw !!! fu.. great !! you?re the best man !
good job, thanks a lot !
ck
anil October 21st, 2005 at 10:26 pm
it?s really good, once again scripting has proven it?s power.
Leave a Reply
Name (required)
Mail (will not be published) (required)
Website
© 1997-2005 Stilva.com. All Rights Reserved | Support Stilva.com
Read
Tutorial at: Click here to view the tutorial
Rate Tutorial: Flash Actionscripting Typewriter effect with dynamic text Tutorial
View Tutorial: Flash Actionscripting Typewriter effect with dynamic text Tutorial
Related
Tutorials:
|
Displaying 1 - 50 of about 2766 Related Tutorials.
|
Photoshop Tutorial : Text Effect
;
This is a text effect tutorial. This tutorial...
Photoshop: How to make a text effect
How to make a text effect
  |
How to design a flash effect on the picture.
How to design a flash effect on the picture.<
How to design a flash effect on the picture.
 ... is showing a flash effect on a
particular area. You will learn how to flash some |
How to make text effect
;
Design text effect is so easy now, because I have a
tutorial that is base on text effect. It has so easy steps, you will not have
any...
Photoshop : How to make text effect
How to make text |
How to make a text effect.
;
This is a text effect tutorial, you can make...
Photoshop : How to make a text effect.
How to make a text effect.
  |
Photoshop Text Effect
;
How to design a text effect?
This tutorial helps you to learn designing of a text
effect. The beginners can easily learn step by step tutorial. Here we...
Photoshop Text Effect
Photoshop Text Effect |
jQuery to text changes with fading effect
jQuery to text changes with
fading effect...;
In this first jQuery tutorial we will develop a program that text
Changes with fading effect.
Steps to develop the program
Step 1:
  |
jQuery to text changes with sliding effect
jQuery to text changes with
sliding effect...;
In this first jQuery tutorial we will develop a program that text...;
Text Changes with Sliding Effect
</title>
<meta http-equiv=" |
How to make a shadow effect.
How to make a shadow effect.<
How to make a shadow effect.
 ... it very easy by the help of this tutorial. Each and every step of this example |
jQuery to Image Changes With Sliding Effect
jQuery to Image Changes With
Sliding Effect...;
In this first jQuery tutorial we will develop a program that images
Changes with sliding effect.
Steps to develop the program
Step 1:
  |
jQuery to Image Changes With Fading Effect
jQuery to Image Changes With
Fading Effect...;
In this first jQuery tutorial we will develop a program that images
Changes with fading effect.
Steps to develop the program
Step 1:
  |
Photoshop Tutorial : How to make a animated text.
key) and write any text as you
like.
Cutout Effect: Go to Filter Menu >... text.
 ...;
This is an animated example, I have made here a text |
Show Text effect
Show Text effect
Show Text effect...;
This section illustrates you how to rotate the text and makes it
transparent.
Text effect gives the stylistic way to design headings. To rotate the text |
Embed flash file in jsp page
Embed flash file in jsp page
Embed flash file in jsp... a flash file
in jsp page. In the example given below we have used HTML tag in jsp code to
embed flash file.
<OBJECT>
in HTML is used to insert an object |
Photoshop : Burning Effect
Photoshop : How to design a burning effect
How to design a burning effect.
 ...;
This tutorial will help you to design |
JavaFX 3D Effect Example
3D Effect (like Creating Sphere with Circle and 3D text by blurring Text in background).
To create 3D effect we have to use ?javafx.scene.effect? package...
JavaFX 3D Effect Example
JavaFX 3D Effect |
Create dynamic page through JSP
How to read text file in Servlets
Create dynamic page... that shows how to create
dynamic page. This code shows one by one record of student...; color="#6E6E6E"><br>This is dynamic page that shows data< |
jQuery To Fade Effects tabs
;
In this JQuery tutorial we will develop a
program to make...;head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Style-Type" content="text/css |
How to make a wood effect.
photoshop tuttorial, wood, make a wood effect<
How... effect, we are
going to learn here how to make a furniture design, You have an opportunity to
learn about this effect. If you pay attention for some time, you can do |
Beginners Java Tutorial
java Beginner,java Beginners,Beginning java,Beginners Java Tutorial,Java for beginners
Beginners Java Tutorial...;
This tutorial will introduce you with the Java Programming |
Beginners Java Tutorial
java Beginner,java Beginners,Beginning java,Beginners Java Tutorial,Java for beginners
Beginners Java Tutorial...;
This tutorial will introduce you with the Java Programming |
J2ME Tutorial
J2me Tutorial
J2ME Tutorial
 ... Application Descriptor (JAD) filename extension is .jad and media
type is text...;
Text Field MIDlet |
J2ME Tutorial
J2me Tutorial
J2ME Tutorial
 ... Application Descriptor (JAD) filename extension is .jad and media
type is text...;
Text Field MIDlet |
Flash on iPhone 3G
Flash on iPhone 3G | Adobe Flash and iPhone | Flash Apps on iPhone | Flash iPhone
Flash on iPhone 3G... applications including push-email but
surprisingly lacked in Flash capability. This limited |
Color Effect On Image
Color Effect On Image
Color Effect On Image
 ...;
In this section of Java graphic tutorial, you are going |
Text Area in HTML
with Example
The Tutorial illustrate an example from Text Area in HTML.In this example...
Text Area in HTML
Text Area in HTML
  |
JavaFX 3D Effect Example
Collection
JavaFX 3D Effect Example
 ... are array list with extended properties which follow the dynamic and
automatic |
How to make an image full text.
, it's not tuff to design an
image full text because this tutorial has made it easy...
Photoshop : How to make an image full text.
How to make an image full text.
  |
How to design a text button.
How to design a text button.<
How to design a text...;
With this tutorial you will be able to learn a design of
the text button, mostly we use simple buttons of circle |
Text Field in HTML
.
Understand with Example
The Tutorial illustrates an example from Text Field in HTML.In this Tutorial, the
code create a text field in HTML page.
<form action>...
Text Field in HTML
|
|