I suspect I am missing the right procedure or syntax for calling functions in AP9.
I created a function and placed it as an onLoad Action to the slide. After writing the function - I then called it using typical syntax newProblem();
It worked great and rendered on the screen as expected.
It did not work. - I also tried to put the function on a Project Load Action - hoping it would always be available to call. I had hoped it would be at least available on the same slide.
Do I need to call it a different way? Place the function somewhere else?
I placed the entire function and called it on the button the same as I did on the slide enter and it worked just fine but that seems to defeat the purpose of making a function in the first place. I should only have to make it once and then call it as I need to.
What part am I missing to get them working in both places with one function?
Thanks in advance.