Recently my friend is doing the actionscript in his computer which successfully run an interactive app with buttons. But when i get the fla working file and open in different computer, one of the code error appear as below: TypeError: Error #1006: enableButtons is not a function. at _1097x1920_fla::Music1_4/frame810()
We are using the same version animate cc2019, i searched for TypeError but didn't find it out.
Copy link to clipboard
no, that error is not because of different animate versions.
you're using enableButtons() on frame 810 and it's not a function or you're applying it out-of-scope.
if that doesn't make the solution obvious, tick permit debugging in your publish settings, retest and then paste the line mentioned in the error message here.
It works after tick permit debugging in publish settings, thanks a lot.
i don't know how that fixed an error, but you're welcome.