Error with buttons
I have a game with multiple frames (Menu, Instructions and Game). I have a button in frame 1(menu) to take me to frame 2 and 3, the one for frame 2(game) works like a charm, the one for frame 3 on the other hand, sends me an error. Frame 2 is complete, all the coding is done for it, all I have in frame 3 is a button. I have tested the animation with debug thing, and the error points too the button itself. The button is custom made and imported into the library. However, if I use one of the buttons "premade" in flash, it works fine, it wouldnt be the end of the world if I used their buttons, but mine are prettier, anyone have any idea?
this is the error
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at NimGame_fla::MainTimeline/frame1()
at flash.display::MovieClip/gotoAndStop()
at NimGame_fla::MainTimeline/toMenu()
