How do I put event listeners in the global script?
I simply want to place event listeners in the Animate CC global script so that I am not cluttering up frame 1. How would I put the following script in the global script window and change it so the listener can actually find the instance "nextBut" at the root level? Thanks in advance.
this.nextBut.addEventListener("click", doNext.bind(this));
function doNext() {
alert("foo")
}
