Skip to main content
Participant
January 24, 2021
Answered

TypeError varies in different animate version?

  • January 24, 2021
  • 1 reply
  • 389 views

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.

This topic has been closed for replies.
Correct answer kglad

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.

 

Run-Time Errors - Adobe ActionScript® 3 (AS3) API Reference

1 reply

kglad
Community Expert
kgladCommunity ExpertCorrect answer
Community Expert
January 24, 2021

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.

 

Run-Time Errors - Adobe ActionScript® 3 (AS3) API Reference

cr5CF4Author
Participant
January 24, 2021

It works after tick permit debugging in publish settings, thanks a lot.

kglad
Community Expert
Community Expert
January 24, 2021

i don't know how that fixed an error, but you're welcome.