Canvas Global Scripts
I'm new to Canvas in Animate. I have the basics down I think, but I'm having trouble with Global scripting. It may be that I'm thinking of the Global Scripts window incorrectly, but my thought was that it can be used to write code that will be accessed throughout the project. My hope was to use it to declare global variables and functions that I want to later call on other frames in the file. However, I can't seem to get any of my variables to recognize between the global script window and other frames. I was trying to learn how to use this window, but found the tutorials a little lacking. The help files didn't help me understand it any better either. Could someone help me understand what type of code can be used in the Global Scripts window? I saw on one site the use of console. This got me thinking only strict JS could be used. But I couldn't even declare variables there. Any help or advice would be greatly appreciated! Thanks everyone in advanced!