flash help
flash help
Out of context: Reply #8
- Started
- Last post
- 10 Responses
- unfittoprint0
textBox.autoSize = true;
myText = "Google is your best friend";
//__________inner Function
addText = function (string) {
i = (i == undefined) ? 0 : i;
textBox.text += string[i];
++i;
if (i == string.length-1) {
clearInterval(interval);
}
};
//_________________builder
textBuilder = function (string, velocity) {
myArray = string.split("");
clearInterval(interval);
interval = setInterval(addText, velocity, myArray);
};
//________________start
textBuilder(myText, 30);
stop();remember: the lower the velocity number, the faster it goes...