I've just started trying adobe animate, and I want a text field to be a certain number.
this.stage.addEventListener(Event.ENTER_FRAME,hello);
function hello(event) {
var year = (this.currentFrame / 5) + 927;
testText.text = "here is the text";
}
(There is a "testText" in the library) It's not doing anything, how do I fix it? I've searched the adobe forums and a few forum questions and it's not helping at all. They all do the same thing as I did or use some complicated code with stuff that doesn't work.