Im getting this annoying error and I can`t figure out what the problem might be…
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at simplifyVirSys_fla::copyRightAthenaAcademy_1/initiateApp()
My main time line has two frames:
frame1-the intro and frame2-the application itself
The intro is a movieclip. The code on the last frame of the intro mc goes like this:
addEventListener(Event.ENTER_FRAME, initiateApp);
function initiateApp(e:Event){
MovieClip(root).gotoAndStop(2);
}
So after playing the intro, it should jump to frame 2 of the main time line. And that`s where the output window goes crazy with the #1009 error.
Try this: