as3 cant reference to button:"nerbtn" name when compiling. Trying to add eventlistener to the button. This is the code:
nerbtn.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
function mouseDownHandler(event:MouseEvent):void {
nextFrame();
}
This is the compile-error:1120: Access of undefined property nerbtn.