• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

TypeError varies in different animate version?

New Here ,
Jan 23, 2021 Jan 23, 2021

Copy link to clipboard

Copied

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.

TOPICS
ActionScript , Error

Views

233

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jan 24, 2021 Jan 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

Votes

Translate

Translate
Community Expert ,
Jan 24, 2021 Jan 24, 2021

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 24, 2021 Jan 24, 2021

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 24, 2021 Jan 24, 2021

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines