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

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

Community Beginner ,
Jul 15, 2024 Jul 15, 2024

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?

215
Translate
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.

Translate
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.

Translate
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

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

Translate
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
LATEST

you're welcome.

Translate
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