Error #1009: Cannot access a property or method of a null object reference.
Hello, so i have an end scene that just has a button that goes back to the first scene on frame 1559, which takes it back to 4 buttons, however when I click the go back button at the end scene and I arrive back at scene 1 with the 4 buttons, I get this error in the Output:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at workingonhellscene_fla::MainTimeline/frame1559()
at flash.display::MovieClip/gotoAndPlay()
at privatePkg::___LayerProp___$/executeFrameHelper()
at privatePkg::___LayerProp___/executeFrame()
at privatePkg::___LayerProp___/enterFrame()
I was wondering if someone knows why this is happening?
Here is my code for the button that goes back to scene 1:


I do need to keep advanced layers on, hence why my buttons on frame 1559 on scene 1 are coded like that. I hope someone can help me with this, as I am not experienced with coding, thank you.
