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

TypeError: Error #1009: Cannot access a property or method of a null object reference.

Community Beginner ,
Jul 15, 2024 Jul 15, 2024

Copy link to clipboard

Copied

I have coding that is supposed to make visible=false some borders.. inside of some of movieclip on the stage.  The movieclip on the stage has two frames, frame 1 with some stuff on it, frame 2 with some more stuff. The coding on the main stage succesfully visible=false the stuff on the first frame of the MC on the stage. But TypeError: Error #1009: Cannot access a property or method of a null object reference when I try to .visible=false the stuff on the second frame of the MC on the stage. See the video.

 

https://youtu.be/7PFp-1SP-i8

 

How can I visible=false the borders on the second frame of the MC?

Views

102

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 , Jul 16, 2024 Jul 16, 2024

click file > publish settings and tick "permit debugging".

 

copy and paste here the few lines surrounding the line of code with the error.

Votes

Translate

Translate
Community Expert ,
Jul 16, 2024 Jul 16, 2024

Copy link to clipboard

Copied

click file > publish settings and tick "permit debugging".

 

copy and paste here the few lines surrounding the line of code with the error.

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 Beginner ,
Jul 16, 2024 Jul 16, 2024

Copy link to clipboard

Copied

I thank you for replying, but rather than waiting for an explanation, i chose not to do the path that required me to ask this question

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 ,
Jul 17, 2024 Jul 17, 2024

Copy link to clipboard

Copied

LATEST

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