Hi
I have the following code but it only works when published for flash 6 and I need it to work for flash 8.
Ive tried to tweak it but cant get it to work.
I think it would be best if I could make a function out of it - ie:
call the function like:
myTextbox.textEffect(“this is some decoding text”);
Any ideas? My actionscript is coming along but Im still learning.
Ive attached the FLA also…
Thanks in advance
myString = "this is some decoding text";
charDisplay = myString.length;
string1 = "";
for (n=0; n<charDisplay; n++) {
string1 += String.fromCharCode(random(42)+48);
}
string2 = this.myString.substr(0, i);
this.randomText = string2+string1.substring(i, charDisplay);
i++;
if (i<=charDisplay) {
gotoAndPlay(1);
} else {
stop();
}