I am currently transitioning from 3+ years of using Adobe Edge (Animate) to Tumult Hype, and have a question regarding Javascript functions. In the past with Edge, I’ve augmented most of my projects with additional Javascript functions and libraries, loaded in the Code window. With Hype, there appears to be a limitation in regards to defining Javascript functions: I’m unable to define additional function parameters to the existing parameters of hypeDocument, element, and event. Is there a simple way to do this?
I can do a work around of defining a supplemental function that is called prior to the main function, that sets global/window variables that the main function can reference, but it’s a bit convoluted to setup. Thanks.