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

PLEASE HELP ME ASAP TypeError: Error #1009: Cannot access a property or method of a null object

New Here ,
Jun 25, 2024 Jun 25, 2024

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at finalnewmma1_fla::MainTimeline/frame3()[finalnewmma1_fla.MainTimeline::frame3:1]
at flash.display::MovieClip/gotoAndStop()
at finalnewmma1_fla::MainTimeline/goHome4()[finalnewmma1_fla.MainTimeline::frame9:6] 

 

THIS WAS MY PROBLEM AND I TRY TO FIND SOLUTION ALMOST A DAY, AND I NEED TO SUBMIT IT THIS TOMORROW

 

this is the coding at page in frame 3 

imgs_btn.addEventListener(MouseEvent.CLICK, goImages);
 
function goImages(e: MouseEvent): void {
gotoAndStop('images');
}
 
vid_btn.addEventListener(MouseEvent.CLICK, goVideo);
 
function goVideo(e: MouseEvent): void {
gotoAndStop('videos');
}
 
mnm_btn.addEventListener(MouseEvent.CLICK, goGame1);
 
function goGame2(e: MouseEvent): void {
gotoAndStop('game1');
}
 
grab_btn.addEventListener(MouseEvent.CLICK, goGame2);
 
function goGame1(e: MouseEvent): void {
gotoAndStop('game2');
 
}
107
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 ,
Jun 26, 2024 Jun 26, 2024
LATEST

imgs_btn doesn't exist at frame 3

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