How is this done?
http://www.rodec.com/site/content/home.asp
See how the text comes in as random generated text before revealing the real text. Its like that matrix or space aged thing happening.
Here are some code that I found, but don’t know how to modify it to do this:
var str:String = " What is the answer";
var sInt = setInterval(writeIt,1);
var count:Number = 0;
var s:Sound = new Sound();
s.attachSound("type");
function writeIt() {
if(count == 0) {
s.start(0,1000);
}
theText.text = str.substring(0,count);
count += 5;
if(count > str.length) {
clearInterval(sInt);
s.stop();
}
}
I don’t mind how this is setup though, it looks pretty straight forward, it just doesn’t do that random generated text to reveal teh real text.