Typewriter Effect in Adobe Canvas
Hello All,
I am desperately and humbly asking for assistance on creating a typewriter effect in Adobe Animate CC. I was able to, through a tutorial, create this effect in AS3. However, now that I’m converting all my files to Canvas, I am stuck and it is a tremendous problem for me.
I am absolutely clueless when it comes to coding. I’ve read an answer to this issue, and the answer was so beyond my comprehension, it was embarrassing. I am able to do a few simple things and with the help of code snippets, I’m able to fool my friends into thinking that I’m pretty good at this stuff.
The AS3 for the typewriter effect is:
var myString:String = "I'm from Maryland.";
var myArray:Array = myString.split("");
addEventListener(Event.ENTER_FRAME, frameLooper);
function frameLooper(event:Event):void {
if (myArray.length > 0) {
tf.appendText(myArray.shift());
} else {
removeEventListener(Event.ENTER_FRAME, frameLooper);
}
}
Will someone PRETTY PLEASE, with ice cream on top, translate the above AS 3. I need this to appear in an Animate file.
Thanks in advance to the angel willing to help me.
Sincerely,
Terri
