thanks for the reply.
ive got the scripts in three frames, plus a text file.
frame 1:
ActionScript Code:
loadVariables("cartertext.txt","");
frame 2:
ActionScript Code:
if (loaded != "yes") {
gotoAndPlay(96);
}
frame 3:
ActionScript Code:
stop();
var i = 0;
cartertext = "";
cartertext2 = "";
var my_array = txt.split("");
function textwritter() {
cartertext2 = cartertext;
cartertext = my_array[i];
cartertext = cartertext2+cartertext;
if (i+1<my_array.length) {
i++;
} else {
clearInterval(intervalID);
}
}
var intervalID = setInterval(textwritter, speed);
And then in my text file (cartertext.txt), it says:
Code:
&loaded=yes&
//Please do not edit this line.
&speed=80&
//The variable “speed” is actually the interval time in ms.
//Therefore the greater “speed” is, the slower the typing speed will be.
&txt=Born: September 4, 2001
Occupation: Pre-schooler
Hobbies: Biking, Playdough, Reading,
watering flowers in the garden
Fave Foods: Mushroom rice, ice
cream, skittles, dim sum
Dislikes: Eating Chinese hair
&
Help! Thanks.